aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-03-28 20:25:53 +0100
committerJon Atack <jon@atack.com>2020-03-28 20:25:53 +0100
commit6e0d82c55bf4a9aae98c47b7cd00b2828b5dd0ee (patch)
tree3641d9e9838042b2516542ed99a4e40b296ea974 /src/wallet
parent1668c80bdcc3c2742fbe220573f5b5248129f3fa (diff)
rpc: remove unused getbalances() code
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 0eb7ed2b71..5d34e592db 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -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};
{