Merge 27a82d347e into merged_master (Bitcoin PR #18459)

This commit is contained in:
Andrew Poelstra 2020-11-26 01:08:04 +00:00
commit f79b86b3ab

View file

@ -2628,8 +2628,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};
{