From 45595250dbfba9e2e4bcce7d6653683fe2a4a426 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Fri, 1 Mar 2024 08:13:59 -0800 Subject: [PATCH] fix tx history amount --- cw_lightning/lib/lightning_transaction_info.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cw_lightning/lib/lightning_transaction_info.dart b/cw_lightning/lib/lightning_transaction_info.dart index 76a729617..033a6189b 100644 --- a/cw_lightning/lib/lightning_transaction_info.dart +++ b/cw_lightning/lib/lightning_transaction_info.dart @@ -80,11 +80,11 @@ class LightningTransactionInfo extends TransactionInfo { @override String amountFormatted() => - '${formatAmount(bitcoinAmountToString(amount: amount))} ${walletTypeToCryptoCurrency(type).title}'; + '${formatAmount(bitcoinAmountToLightningString(amount: amount))} ${walletTypeToCryptoCurrency(type).title}'; @override String? feeFormatted() => fee != null - ? '${formatAmount(bitcoinAmountToString(amount: fee!))} ${walletTypeToCryptoCurrency(type).title}' + ? '${formatAmount(bitcoinAmountToLightningString(amount: fee!))} ${walletTypeToCryptoCurrency(type).title}' : ''; @override