mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-09 19:56:35 +00:00
SetCron -> CronSet
This commit is contained in:
@@ -481,7 +481,7 @@ TxFormats::TxFormats()
|
||||
},
|
||||
commonFields);
|
||||
|
||||
add(jss::SetCron,
|
||||
add(jss::CronSet,
|
||||
ttCRON_SET,
|
||||
{
|
||||
{sfDelaySeconds, soeOPTIONAL},
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user