From 793249d0315e85756b6aa0cec4dcf27026ea5e95 Mon Sep 17 00:00:00 2001 From: tequ Date: Fri, 17 Oct 2025 10:28:43 +0900 Subject: [PATCH] SetCron -> CronSet --- src/ripple/protocol/impl/TxFormats.cpp | 2 +- src/ripple/protocol/jss.h | 2 +- src/test/jtx/impl/cron.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ripple/protocol/impl/TxFormats.cpp b/src/ripple/protocol/impl/TxFormats.cpp index 7c3bae803..b0a995bb8 100644 --- a/src/ripple/protocol/impl/TxFormats.cpp +++ b/src/ripple/protocol/impl/TxFormats.cpp @@ -481,7 +481,7 @@ TxFormats::TxFormats() }, commonFields); - add(jss::SetCron, + add(jss::CronSet, ttCRON_SET, { {sfDelaySeconds, soeOPTIONAL}, diff --git a/src/ripple/protocol/jss.h b/src/ripple/protocol/jss.h index 227fa88d3..350752468 100644 --- a/src/ripple/protocol/jss.h +++ b/src/ripple/protocol/jss.h @@ -61,6 +61,7 @@ JSS(Clawback); // transaction type. JSS(ClearFlag); // field. JSS(CreateCode); // field. JSS(Cron); +JSS(CronSet); JSS(DeliverMin); // in: TransactionSign JSS(DepositPreauth); // transaction and ledger type. JSS(Destination); // in: TransactionSign; field. @@ -132,7 +133,6 @@ JSS(SettleDelay); // in: TransactionSign JSS(SendMax); // in: TransactionSign JSS(Sequence); // in/out: TransactionSign; field. JSS(SetAlarm); -JSS(SetCron); JSS(SetFlag); // field. JSS(SetRegularKey); // transaction type. JSS(SetHook); // transaction type. diff --git a/src/test/jtx/impl/cron.cpp b/src/test/jtx/impl/cron.cpp index 26fd8cf6e..8b7fda57c 100644 --- a/src/test/jtx/impl/cron.cpp +++ b/src/test/jtx/impl/cron.cpp @@ -32,7 +32,7 @@ set(jtx::Account const& account) { using namespace jtx; Json::Value jv; - jv[jss::TransactionType] = jss::SetCron; + jv[jss::TransactionType] = jss::CronSet; jv[jss::Account] = account.human(); return jv; }