Skip to content

Commit 6e0d82c

Browse files
committed
rpc: remove unused getbalances() code
1 parent 1668c80 commit 6e0d82c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,8 +2390,6 @@ static UniValue getbalances(const JSONRPCRequest& request)
23902390
auto locked_chain = wallet.chain().lock();
23912391
LOCK(wallet.cs_wallet);
23922392

2393-
UniValue obj(UniValue::VOBJ);
2394-
23952393
const auto bal = wallet.GetBalance();
23962394
UniValue balances{UniValue::VOBJ};
23972395
{

0 commit comments

Comments
 (0)