Get rid of ledger_header hack.

This commit is contained in:
Arthur Britto
2013-01-30 02:10:26 -08:00
parent b83412f3ca
commit 3066a895c1

View File

@@ -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);
}