mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-01 02:30:51 +02:00
rpc: remove unused getbalances() code
This commit is contained in:
parent
1668c80bdc
commit
6e0d82c55b
@ -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};
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user