Skip to content

Commit

Permalink
fix(Eth): Fix BigNumber value check
Browse files Browse the repository at this point in the history
2091
  • Loading branch information
plondon committed Feb 13, 2019
1 parent fc496f2 commit 005fc1a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ export const maximumAmount = (value, allValues, props) => {
fromUnit: 'WEI',
toUnit: 'ETH'
}).value
return new BigNumber(valueEth).lessThanOrEqualTo(
return new BigNumber(valueEth).isLessThanOrEqualTo(
new BigNumber(effectiveBalanceEth || 0)
) ? (
undefined
Expand Down

0 comments on commit 005fc1a

Please sign in to comment.