mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Accelerated 'ledger' command.
This commit is contained in:
@@ -1526,6 +1526,7 @@ Json::Value RPCHandler::doLedger(Json::Value jvRequest)
|
||||
|
||||
Json::Value ret(Json::objectValue);
|
||||
|
||||
ScopedUnlock(theApp->getMasterLock());
|
||||
ledger->addJson(ret, full ? LEDGER_JSON_FULL : 0);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user