mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Get rid of ledger_header hack.
This commit is contained in:
@@ -2302,7 +2302,6 @@ Json::Value RPCHandler::doLedgerHeader(Json::Value jvRequest)
|
||||
if (mRole == ADMIN)
|
||||
{
|
||||
// As admin, they can trust us, so we provide this information.
|
||||
lpLedger->setClosed(); // XXX Hack to get info.
|
||||
lpLedger->addJson(jvResult, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user