mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix: frozen coins displaying incorrect amounts in monero (#2385)
This commit is contained in:
@@ -852,10 +852,12 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
|
||||
}
|
||||
|
||||
void _askForUpdateBalance() {
|
||||
final unlockedBalance = _getUnlockedBalance();
|
||||
final _ub = _getUnlockedBalance();
|
||||
final _fb =_getFrozenBalance();
|
||||
final unlockedBalance = _ub - _fb;
|
||||
final fullBalance = monero_wallet.getFullBalance(
|
||||
accountIndex: walletAddresses.account!.id);
|
||||
final frozenBalance = _getFrozenBalance();
|
||||
accountIndex: walletAddresses.account!.id) - _fb;
|
||||
final frozenBalance = _fb;
|
||||
if (balance[currency]!.fullBalance != fullBalance ||
|
||||
balance[currency]!.unlockedBalance != unlockedBalance ||
|
||||
balance[currency]!.frozenBalance != frozenBalance) {
|
||||
|
||||
Reference in New Issue
Block a user