mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 21eda43cde into merged_master (Bitcoin PR #19828)
This commit is contained in:
commit
2217632a3e
1 changed files with 0 additions and 4 deletions
|
|
@ -4299,10 +4299,6 @@ std::map<CTxDestination, CAmount> CWallet::GetAddressBalances() const
|
|||
continue;
|
||||
|
||||
CAmount n = IsSpent(walletEntry.first, i) ? 0 : wtx.GetOutputValueOut(i);
|
||||
|
||||
if (!balances.count(addr))
|
||||
balances[addr] = 0;
|
||||
|
||||
if (n < 0) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue