Skip to content

Commit

Permalink
txdetails: fix fee rate displayed while null (WalletWasabi#13428)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarnixCroes authored Sep 20, 2024
1 parent bd297b1 commit 726b4f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private async Task UpdateValuesAsync(TransactionModel model, CancellationToken c
BlockHeight = model.BlockHeight;
Confirmations = model.Confirmations;
FeeRate = model.FeeRate;
IsFeeRateVisible = FeeRate != FeeRate.Zero;
IsFeeRateVisible = FeeRate is not null && FeeRate != FeeRate.Zero;

var confirmationTime = await _wallet.Transactions.TryEstimateConfirmationTimeAsync(model, cancellationToken);
if (confirmationTime is { })
Expand Down

0 comments on commit 726b4f2

Please sign in to comment.