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

@@ -93,7 +93,7 @@ class Discrepancy_test : public beast::unit_test::Suite
json::Value jrq2;
jrq2[jss::binary] = false;
jrq2[jss::transaction] = env.tx()->getJson(JsonOptions::KNone)[jss::hash];
jrq2[jss::transaction] = env.tx()->getJson(JsonOptions::Values::None)[jss::hash];
jrq2[jss::id] = 3;
auto jrr = env.rpc("json", "tx", to_string(jrq2))[jss::result];
uint64_t const fee{jrr[jss::Fee].asUInt()};