diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 06:34:35 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 06:34:35 +0800 |
commit | 86febc3cce1135d2345f0048c205c3c524a66733 (patch) | |
tree | e54be5853299798331ca9ca45d841e39be1b89f5 /packages/instant/src/containers | |
parent | e1ae551560ad12501256fd5702dcd929baa84100 (diff) | |
download | dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar.gz dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar.bz2 dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar.lz dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar.xz dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.tar.zst dexon-sol-tools-86febc3cce1135d2345f0048c205c3c524a66733.zip |
acccount for no address
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r-- | packages/instant/src/containers/selected_erc20_asset_amount_input.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts index 1fc5b6d8c..325dc0ef2 100644 --- a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts +++ b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts @@ -82,7 +82,7 @@ const updateBuyQuoteAsync = async ( // set error if user doesn't have appropriate balance const takerAddress = await getBestAddress(); - await balanceUtil.checkSufficientBalanceAndFlashError(takerAddress, newBuyQuote, web3Wrapper, dispatch); + await balanceUtil.checkInsufficientEthBalanceAndFlashError(takerAddress, newBuyQuote, web3Wrapper, dispatch); }; const debouncedUpdateBuyQuoteAsync = _.debounce(updateBuyQuoteAsync, 200, { trailing: true }); |