refactor: Use more scoped enums (#7086)

This commit is contained in:
Alex Kremer
2026-05-11 16:39:48 +01:00
committed by GitHub
parent 779b49cd93
commit cdee9a675c
379 changed files with 2771 additions and 2864 deletions

View File

@@ -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;