mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove dead code, fix import.
This commit is contained in:
@@ -2401,14 +2401,6 @@ Json::Value RPCHandler::doGetCounts (Json::Value params, LoadType* loadType, Sco
|
||||
if (dbKB > 0)
|
||||
ret["dbKBLedger"] = dbKB;
|
||||
|
||||
if (!getApp().getNodeStore ().isLevelDB ())
|
||||
{
|
||||
dbKB = getApp().getHashNodeDB ()->getDB ()->getKBUsedDB ();
|
||||
|
||||
if (dbKB > 0)
|
||||
ret["dbKBHashNode"] = dbKB;
|
||||
}
|
||||
|
||||
dbKB = getApp().getTxnDB ()->getDB ()->getKBUsedDB ();
|
||||
|
||||
if (dbKB > 0)
|
||||
|
||||
Reference in New Issue
Block a user