mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix the ledger selection bug.
This commit is contained in:
@@ -2271,7 +2271,7 @@ Json::Value RPCHandler::lookupLedger(Json::Value jvRequest, Ledger::pointer& lpL
|
||||
{
|
||||
nothing();
|
||||
}
|
||||
else if (jvRequest["ledger"].size() > 12)
|
||||
else if (jvRequest["ledger"].asString().size() > 12)
|
||||
{
|
||||
uLedger = uint256(jvRequest["ledger"].asString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user