mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 23:30:54 +00:00
refactor: Use more scoped enums (#7086)
This commit is contained in:
@@ -16,7 +16,7 @@ pay(AccountID const& account, AccountID const& to, AnyAmount amount)
|
||||
amount.to(to);
|
||||
json::Value jv;
|
||||
jv[jss::Account] = to_string(account);
|
||||
jv[jss::Amount] = amount.value.getJson(JsonOptions::KNone);
|
||||
jv[jss::Amount] = amount.value.getJson(JsonOptions::Values::None);
|
||||
jv[jss::Destination] = to_string(to);
|
||||
jv[jss::TransactionType] = jss::Payment;
|
||||
jv[jss::Flags] = tfFullyCanonicalSig;
|
||||
|
||||
Reference in New Issue
Block a user