fix overflowexception on manual fee entry
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
@@ -60,7 +60,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private string _amountTip;
private const string WaitingForHardwareWalletButtonTextString = "Waiting for Hardware Wallet...";
-
+ private readonly long MaxSatoshisSupplyLimit = Constants.MaxSatoshisSupply * 1_000;
private FeeDisplayFormat _feeDisplayFormat;
private bool _isSliderFeeUsed = true;
private double _feeControlOpacity;
@@ -816,7 +816,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
userFeeText is { }
&& !userFeeText.Contains(",")
&& decimal.TryParse(userFeeText, out userFee)
- && (userFee * 1_000) < Constants.MaxSatoshisSupply
+ && userFee < MaxSatoshisSupplyLimit
&& userFee > 0;
}

fix overflowexception on manual fee entry