mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 03:06:35 +00:00
fix: double balance
This commit is contained in:
parent
6eb8f35e6c
commit
00ceb933e4
1 changed files with 1 additions and 3 deletions
|
@ -1645,9 +1645,7 @@ abstract class ElectrumWalletBase
|
|||
try {
|
||||
await updateUnspents(address);
|
||||
|
||||
final newBalance = await _fetchBalance(sh);
|
||||
balance[currency]?.confirmed += newBalance.confirmed;
|
||||
balance[currency]?.unconfirmed += newBalance.unconfirmed;
|
||||
await updateBalance();
|
||||
|
||||
await _fetchAddressHistory(address, await getCurrentChainTip());
|
||||
} catch (e, s) {
|
||||
|
|
Loading…
Reference in a new issue