Skip to content

Commit

Permalink
fix: Show fees when using eth-mainnet blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
trzmaxim committed Dec 23, 2022
1 parent 6f0878c commit 833a6a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/containers/Withdraw/WithdrawMarketForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export const WithdrawMarketForm: FC<Props> = ({ 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');

Expand Down

0 comments on commit 833a6a5

Please sign in to comment.