Skip to content

Commit

Permalink
fix(eth-check): pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Dec 23, 2020
1 parent a93e31b commit 2deba04
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ const Checkout: React.FC<InjectedFormProps<{}, Props> & Props> = props => {
const balanceBelowMinimum = userMax < Number(min)

const isQuoteFailed = Remote.Failure.is(props.quoteR)
const isErc20 =
BASE.coin === 'PAX' || BASE.coin === 'USDT' || BASE.coin === 'WDGLD'
const isErc20 = coins[BASE.coin].contractAddress
const isSufficientEthForErc20 =
props.payment &&
(props.payment.coin === 'PAX' ||
Expand Down

0 comments on commit 2deba04

Please sign in to comment.