mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
Add JsonOptions enum class to contain options passed to getJSON methods
This commit is contained in:
@@ -33,7 +33,7 @@ pay (Account const& account,
|
||||
amount.to(to);
|
||||
Json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::Amount] = amount.value.getJson(0);
|
||||
jv[jss::Amount] = amount.value.getJson(JsonOptions::none);
|
||||
jv[jss::Destination] = to.human();
|
||||
jv[jss::TransactionType] = jss::Payment;
|
||||
jv[jss::Flags] = tfUniversal;
|
||||
|
||||
Reference in New Issue
Block a user