mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Fix spelling issues in all variables/functions (#6184)
This change fixes many typos in comments, variables, and public functions. There is no functionality change.
This commit is contained in:
@@ -65,12 +65,12 @@ STXChainBridge::STXChainBridge(SField const& name, Json::Value const& v)
|
||||
}
|
||||
|
||||
auto checkExtra = [](Json::Value const& v) {
|
||||
static auto const jbridge =
|
||||
static auto const bridgeJson =
|
||||
xrpl::STXChainBridge().getJson(xrpl::JsonOptions::none);
|
||||
for (auto it = v.begin(); it != v.end(); ++it)
|
||||
{
|
||||
std::string const name = it.memberName();
|
||||
if (!jbridge.isMember(name))
|
||||
if (!bridgeJson.isMember(name))
|
||||
{
|
||||
Throw<std::runtime_error>(
|
||||
"STXChainBridge extra field detected: " + name);
|
||||
|
||||
Reference in New Issue
Block a user