From 833435f8c2a53a21e00bfd142125f8c0a4c28e6b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 17 Nov 2013 20:11:40 -0800 Subject: [PATCH] The 'ledger' RPC command should be considered high burden if 'full' is set. --- src/ripple_app/rpc/RPCHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple_app/rpc/RPCHandler.cpp b/src/ripple_app/rpc/RPCHandler.cpp index 94f4953f05..2e93436797 100644 --- a/src/ripple_app/rpc/RPCHandler.cpp +++ b/src/ripple_app/rpc/RPCHandler.cpp @@ -2057,7 +2057,7 @@ Json::Value RPCHandler::doLedger (Json::Value params, Resource::Charge& loadType | (bTransactions ? LEDGER_JSON_DUMP_TXRP : 0) | (bAccounts ? LEDGER_JSON_DUMP_STATE : 0); - if (bFull || bAccounts) + if (bFull || bAccounts | bExpand) { if (getApp().getFeeTrack().isLoadedLocal() && (mRole != Config::ADMIN)) {