rpc: remove unused getbalances() code

This commit is contained in:
Jon Atack 2020-03-28 20:25:53 +01:00
parent 1668c80bdc
commit 6e0d82c55b
No known key found for this signature in database
GPG key ID: 4F5721B3D0E3921D

View file

@ -2390,8 +2390,6 @@ static UniValue getbalances(const JSONRPCRequest& request)
auto locked_chain = wallet.chain().lock();
LOCK(wallet.cs_wallet);
UniValue obj(UniValue::VOBJ);
const auto bal = wallet.GetBalance();
UniValue balances{UniValue::VOBJ};
{