mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 14:50:54 +00:00
refactor: Use more scoped enums (#7086)
This commit is contained in:
@@ -397,7 +397,7 @@ public:
|
||||
Serializer s;
|
||||
jt.stx->add(s);
|
||||
|
||||
json::Value args{json::ObjectValue};
|
||||
json::Value args{json::ValueType::Object};
|
||||
|
||||
args[jss::tx_blob] = strHex(s.slice());
|
||||
args[jss::fail_hard] = true;
|
||||
@@ -715,7 +715,7 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
auto params = json::Value(json::NullValue);
|
||||
auto params = json::Value(json::ValueType::Null);
|
||||
envs(noop(alice), Fee(kNONE), Seq(kNONE))(params);
|
||||
|
||||
// Make sure we get the right account back.
|
||||
@@ -728,7 +728,7 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
auto params = json::Value(json::ObjectValue);
|
||||
auto params = json::Value(json::ValueType::Object);
|
||||
// Force the factor low enough to fail
|
||||
params[jss::fee_mult_max] = 1;
|
||||
params[jss::fee_div_max] = 2;
|
||||
@@ -867,7 +867,7 @@ public:
|
||||
return cfg;
|
||||
}),
|
||||
nullptr,
|
||||
beast::severities::KDisabled};
|
||||
beast::Severity::Disabled};
|
||||
});
|
||||
pass();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user