Always provided extended RPC ledger_header info.

This commit is contained in:
Arthur Britto
2013-02-01 17:06:36 -08:00
parent fb1cd25f28
commit e53e27cfa6

View File

@@ -2299,11 +2299,8 @@ Json::Value RPCHandler::doLedgerHeader(Json::Value jvRequest)
jvResult["ledger_data"] = strHex(s.peekData());
if (mRole == ADMIN)
{
// As admin, they can trust us, so we provide this information.
lpLedger->addJson(jvResult, 0);
}
// This information isn't verified, they should only use it if they trust us.
lpLedger->addJson(jvResult, 0);
return jvResult;
}