Skip to content

Commit

Permalink
Merge pull request WalletWasabi#13208 from yahiheb/FormattedBtcFixedF…
Browse files Browse the repository at this point in the history
…ractional

[UI] Do not trim zeros for suggested btc amounts to avoid change
  • Loading branch information
RolandUI authored Jun 28, 2024
2 parents b2efb79 + 7d0c1bc commit 569d20c
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 569d20c

Please sign in to comment.