mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'master' into misc
Conflicts: src/TransactionEngine.cpp
This commit is contained in:
@@ -1279,8 +1279,8 @@ Json::Value RPCServer::doLedger(Json::Value& params)
|
||||
if (getParamCount(params)== 0)
|
||||
{
|
||||
Json::Value ret(Json::objectValue), current(Json::objectValue), closed(Json::objectValue);
|
||||
theApp->getMasterLedger().getCurrentLedger()->addJson(current);
|
||||
theApp->getMasterLedger().getClosedLedger()->addJson(closed);
|
||||
theApp->getMasterLedger().getCurrentLedger()->addJson(current, 0);
|
||||
theApp->getMasterLedger().getClosedLedger()->addJson(closed, 0);
|
||||
ret["open"] = current;
|
||||
ret["closed"] = closed;
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user