mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
refactor: Use more scoped enums (#7086)
This commit is contained in:
@@ -19,8 +19,8 @@ offer(
|
||||
{
|
||||
json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::TakerPays] = takerPays.getJson(JsonOptions::KNone);
|
||||
jv[jss::TakerGets] = takerGets.getJson(JsonOptions::KNone);
|
||||
jv[jss::TakerPays] = takerPays.getJson(JsonOptions::Values::None);
|
||||
jv[jss::TakerGets] = takerGets.getJson(JsonOptions::Values::None);
|
||||
if (flags != 0u)
|
||||
jv[jss::Flags] = flags;
|
||||
jv[jss::TransactionType] = jss::OfferCreate;
|
||||
|
||||
Reference in New Issue
Block a user