From 833a6a5169a89156344b0cc91eef7e70d22ef840 Mon Sep 17 00:00:00 2001 From: Maksim Gerasimov Date: Fri, 23 Dec 2022 11:02:40 +0300 Subject: [PATCH] fix: Show fees when using eth-mainnet blockchain --- web/src/containers/Withdraw/WithdrawMarketForm.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/containers/Withdraw/WithdrawMarketForm.tsx b/web/src/containers/Withdraw/WithdrawMarketForm.tsx index 793496f22..4a606bc84 100644 --- a/web/src/containers/Withdraw/WithdrawMarketForm.tsx +++ b/web/src/containers/Withdraw/WithdrawMarketForm.tsx @@ -60,7 +60,9 @@ export const WithdrawMarketForm: FC = ({ wallet, countdown, withdrawDone, const blockchain = blockchains.find((d) => d.key === beneficiary.blockchain_key); const blockchainFeeEnabled = (blockchainFeeFeatureEnabled && currencyCode === 'ETH') || - (blockchainFeeUSDTFeatureEnabled && currencyCode === 'USDT'); + (blockchainFeeUSDTFeatureEnabled && + currencyCode === 'USDT' && + blockchain?.key === 'eth-mainnet'); const isUSDXe = blockchain?.name === 'Avalanche' && (currencyCode === 'USDT' || currencyCode === 'USDC');