mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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();
|
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;
|
jvRequest["ledger"] = strLedger;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user