mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 20:32:35 -03:00
rpc: remove unused getbalances() code
This commit is contained in:
parent
1668c80bdc
commit
6e0d82c55b
1 changed files with 0 additions and 2 deletions
|
@ -2390,8 +2390,6 @@ static UniValue getbalances(const JSONRPCRequest& request)
|
||||||
auto locked_chain = wallet.chain().lock();
|
auto locked_chain = wallet.chain().lock();
|
||||||
LOCK(wallet.cs_wallet);
|
LOCK(wallet.cs_wallet);
|
||||||
|
|
||||||
UniValue obj(UniValue::VOBJ);
|
|
||||||
|
|
||||||
const auto bal = wallet.GetBalance();
|
const auto bal = wallet.GetBalance();
|
||||||
UniValue balances{UniValue::VOBJ};
|
UniValue balances{UniValue::VOBJ};
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue