mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-31 19:49:04 +00:00
[skip ci] minor
This commit is contained in:
parent
f66e369e45
commit
6f2cb4dff5
1 changed files with 3 additions and 3 deletions
|
@ -700,6 +700,9 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
}
|
||||
await getStub();
|
||||
|
||||
// update unspent balances:
|
||||
await updateUnspent();
|
||||
|
||||
int confirmed = balance.confirmed;
|
||||
int unconfirmed = balance.unconfirmed;
|
||||
int confirmedMweb = 0;
|
||||
|
@ -717,9 +720,6 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
}
|
||||
} catch (_) {}
|
||||
|
||||
// update unspent balances:
|
||||
await updateUnspent();
|
||||
|
||||
for (var addressRecord in walletAddresses.allAddresses) {
|
||||
addressRecord.balance = 0;
|
||||
addressRecord.txCount = 0;
|
||||
|
|
Loading…
Reference in a new issue