FeeSlider button should return the value from FeeSlider
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendFeeViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendFeeViewModel.cs
@@ -49,20 +49,11 @@ public partial class SendFeeViewModel : DialogViewModelBase<FeeRate>
private void OnNext()
{
- if (!_transactionInfo.IsCustomFeeUsed)
- {
- _transactionInfo.ConfirmationTimeSpan = TransactionFeeHelper.CalculateConfirmationTime(FeeChart.CurrentConfirmationTarget);
-
var blockTarget = FeeChart.CurrentConfirmationTarget;
-
+ _transactionInfo.ConfirmationTimeSpan = TransactionFeeHelper.CalculateConfirmationTime(blockTarget);
Services.UiConfig.FeeTarget = (int)blockTarget;
Close(DialogResultKind.Normal, new FeeRate(FeeChart.GetSatoshiPerByte(blockTarget)));
}
- else
- {
- Close(DialogResultKind.Normal, _transactionInfo.FeeRate);
- }
- }
private async Task ShowAdvancedOptionsAsync()
{

FeeSlider button should return the value from FeeSlider