diff --git a/cw_core/lib/monero_balance.dart b/cw_core/lib/monero_balance.dart index 42c00b97e..34f51faf9 100644 --- a/cw_core/lib/monero_balance.dart +++ b/cw_core/lib/monero_balance.dart @@ -4,7 +4,7 @@ import 'package:cw_core/monero_amount_format.dart'; class MoneroBalance extends Balance { MoneroBalance({required this.fullBalance, required this.unlockedBalance, this.frozenBalance = 0}) : formattedUnconfirmedBalance = moneroAmountToString(amount: fullBalance - unlockedBalance), - formattedUnlockedBalance = moneroAmountToString(amount: unlockedBalance - frozenBalance), + formattedUnlockedBalance = moneroAmountToString(amount: unlockedBalance), formattedFrozenBalance = moneroAmountToString(amount: frozenBalance), super(unlockedBalance, fullBalance); diff --git a/cw_core/lib/wownero_balance.dart b/cw_core/lib/wownero_balance.dart index b04560a79..916fa90bc 100644 --- a/cw_core/lib/wownero_balance.dart +++ b/cw_core/lib/wownero_balance.dart @@ -4,7 +4,7 @@ import 'package:cw_core/wownero_amount_format.dart'; class WowneroBalance extends Balance { WowneroBalance({required this.fullBalance, required this.unlockedBalance, this.frozenBalance = 0}) : formattedUnconfirmedBalance = wowneroAmountToString(amount: fullBalance - unlockedBalance), - formattedUnlockedBalance = wowneroAmountToString(amount: unlockedBalance - frozenBalance), + formattedUnlockedBalance = wowneroAmountToString(amount: unlockedBalance), formattedFrozenBalance = wowneroAmountToString(amount: frozenBalance), super(unlockedBalance, fullBalance);