fix tx history amount

This commit is contained in:
Matthew Fosse 2024-03-01 08:13:59 -08:00
parent dc2d2ece83
commit 45595250db

View file

@ -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