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; }