fix unconfirmed balance not showing

This commit is contained in:
Czarek Nakamoto 2024-11-27 10:41:08 -05:00
parent edf9f29d23
commit f8af12daa1
No known key found for this signature in database
GPG key ID: 04FB77CB56AB1DF4

View file

@ -725,8 +725,8 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
void _askForUpdateBalance() { void _askForUpdateBalance() {
final unlockedBalance = _getUnlockedBalance(); final unlockedBalance = _getUnlockedBalance();
final fullBalance = _getUnlockedBalance() + _getFrozenBalance(); final fullBalance = _getFullBalance() + _getFrozenBalance();
final frozenBalance = 0; // this is calculated on the monero side now final frozenBalance = _getFrozenBalance();
if (balance[currency]!.fullBalance != fullBalance || if (balance[currency]!.fullBalance != fullBalance ||
balance[currency]!.unlockedBalance != unlockedBalance || balance[currency]!.unlockedBalance != unlockedBalance ||
balance[currency]!.frozenBalance != frozenBalance) { balance[currency]!.frozenBalance != frozenBalance) {