mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-22 07:08:49 +00:00
fix unconfirmed balance not updating when receiving
This commit is contained in:
parent
eaed450739
commit
dfdf16a6c2
1 changed files with 3 additions and 1 deletions
|
@ -271,8 +271,10 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
if (!(tx.inputAddresses?.contains(utxo.address) ?? false)) addressRecord.txCount++;
|
||||
addressRecord.balance += utxo.value.toInt();
|
||||
addressRecord.setAsUsed();
|
||||
|
||||
// update the unconfirmed balance when a new tx is added:
|
||||
await updateBalance();
|
||||
}
|
||||
print("BEING ADDED HERE@@@@@@@@@@@@@@@@@@@@@@@");
|
||||
transactionHistory.addOne(tx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue