mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Always provided extended RPC ledger_header info.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user