mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
I like parentheses.
This commit is contained in:
@@ -345,7 +345,7 @@ Json::Value RPCParser::parseLedger(const Json::Value& jvParams)
|
||||
|
||||
std::string strLedger = jvParams[0u].asString();
|
||||
|
||||
if (strLedger == "current" || strLedger == "closed" || strLedger.length() > 12)
|
||||
if (strLedger == "current" || strLedger == "closed" || (strLedger.length() > 12))
|
||||
{
|
||||
jvRequest["ledger"] = strLedger;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user