From 252b488fd3c9d42073938fcd0eeee18bd3c18f5b Mon Sep 17 00:00:00 2001 From: Igor Matsak Date: Thu, 4 Feb 2021 18:44:04 +0300 Subject: [PATCH] Fix fees estimation for ethereum and erc20 tokens --- Atomex.Client.Core | 2 +- Atomex.Client.Wpf/ViewModels/ConversionViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Atomex.Client.Core b/Atomex.Client.Core index c5f6890..5a73643 160000 --- a/Atomex.Client.Core +++ b/Atomex.Client.Core @@ -1 +1 @@ -Subproject commit c5f6890e7a0a75eb6214642f2d0c37f7c9495fed +Subproject commit 5a7364344ead065b98a9e53e4c192b399a0c15c9 diff --git a/Atomex.Client.Wpf/ViewModels/ConversionViewModel.cs b/Atomex.Client.Wpf/ViewModels/ConversionViewModel.cs index e2dc13c..fa4dfec 100644 --- a/Atomex.Client.Wpf/ViewModels/ConversionViewModel.cs +++ b/Atomex.Client.Wpf/ViewModels/ConversionViewModel.cs @@ -559,7 +559,7 @@ protected async Task UpdateRedeemAndRewardFeesAsync() .GetRedeemAddressAsync(ToCurrency.Name); _estimatedRedeemFee = await ToCurrency - .GetRedeemFeeAsync(walletAddress); + .GetEstimatedRedeemFeeAsync(walletAddress, withRewardForRedeem: false); _rewardForRedeem = await RewardForRedeemHelper .EstimateAsync(