diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index 7476cff42..91a689e04 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -1761,6 +1761,8 @@ class FiroWallet extends CoinServiceAPI { balances.add( (lelantusBalance + utxosValue + _unconfirmedLelantusBalance) * price); + balances.add(utxosValue); + Logging.instance.log("balances $balances", level: LogLevel.Info); await DB.instance.put( boxName: walletId, @@ -3884,4 +3886,12 @@ class FiroWallet extends CoinServiceAPI { return false; } } + + Future availablePrivateBalance() async { + return (await balances)[0]; + } + + Future availablePublicBalance() async { + return (await balances)[4]; + } }