Skip to content

Commit

Permalink
Do not trim zeros for suggested btc amounts to avoid change
Browse files Browse the repository at this point in the history
  • Loading branch information
yahiheb committed Jun 27, 2024
1 parent b2efb79 commit 7d0c1bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private string GetDifferenceText(decimal btcDifference)

private string GetDifferenceAmountText(decimal btcDifference, decimal fiatDifference)
{
return $"{Math.Abs(btcDifference).FormattedBtc()} BTC {Math.Abs(fiatDifference).ToUsdAproxBetweenParens()}";
return $"{Math.Abs(btcDifference).FormattedBtcFixedFractional()} BTC {Math.Abs(fiatDifference).ToUsdAproxBetweenParens()}";
}

private record Parameters(TransactionInfo TransactionInfo, BuildTransactionResult Transaction, bool IncludeSuggestions);
Expand Down

0 comments on commit 7d0c1bc

Please sign in to comment.