mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add JsonOptions enum class to contain options passed to getJSON methods
This commit is contained in:
@@ -30,8 +30,8 @@ offer (Account const& account,
|
||||
{
|
||||
Json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::TakerPays] = in.getJson(0);
|
||||
jv[jss::TakerGets] = out.getJson(0);
|
||||
jv[jss::TakerPays] = in.getJson(JsonOptions::none);
|
||||
jv[jss::TakerGets] = out.getJson(JsonOptions::none);
|
||||
if (flags)
|
||||
jv[jss::Flags] = flags;
|
||||
jv[jss::TransactionType] = jss::OfferCreate;
|
||||
|
||||
Reference in New Issue
Block a user