diff options
author | Jon Atack <jon@atack.com> | 2020-03-28 20:25:53 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-03-28 20:25:53 +0100 |
commit | 6e0d82c55bf4a9aae98c47b7cd00b2828b5dd0ee (patch) | |
tree | 3641d9e9838042b2516542ed99a4e40b296ea974 /src/wallet | |
parent | 1668c80bdcc3c2742fbe220573f5b5248129f3fa (diff) |
rpc: remove unused getbalances() code
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
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}; { |