diff options
3 files changed, 1 insertions, 11 deletions
diff --git a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts index dee724e15..d22fd7d24 100644 --- a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts +++ b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts @@ -7,9 +7,7 @@ import { Dispatch } from 'redux'; import { Action, actions } from '../redux/actions'; import { State } from '../redux/reducer'; import { OrderProcessState, OrderState, ZeroExInstantError } from '../types'; -import { balanceUtil } from '../util/balance'; import { etherscanUtil } from '../util/etherscan'; -import { web3Wrapper } from '../util/web3_wrapper'; import { BuyOrderStateButtons } from '../components/buy_order_state_buttons'; import { errorUtil } from '../util/error'; 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 a090ad8fb..6536e2787 100644 --- a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts +++ b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts @@ -11,12 +11,9 @@ import { ERC20AssetAmountInput } from '../components/erc20_asset_amount_input'; import { Action, actions } from '../redux/actions'; import { State } from '../redux/reducer'; import { ColorOption } from '../style/theme'; -import { ERC20Asset, OrderProcessState, ZeroExInstantError } from '../types'; -import { getBestAddress } from '../util/address'; -import { balanceUtil } from '../util/balance'; +import { ERC20Asset, OrderProcessState } from '../types'; import { BigNumberInput } from '../util/big_number_input'; import { errorUtil } from '../util/error'; -import { web3Wrapper } from '../util/web3_wrapper'; export interface SelectedERC20AssetAmountInputProps { fontColor?: ColorOption; diff --git a/packages/instant/src/util/balance.ts b/packages/instant/src/util/balance.ts index 9cb8b8987..24b7b99c3 100644 --- a/packages/instant/src/util/balance.ts +++ b/packages/instant/src/util/balance.ts @@ -8,11 +8,6 @@ export const balanceUtil = { return false; } const balanceWei = await web3Wrapper.getBalanceInWeiAsync(takerAddress); - console.log('balanceWei', balanceWei.toString()); - console.log( - 'buyQuote.worstCaseQuoteInfo.totalEthAmount', - buyQuote.worstCaseQuoteInfo.totalEthAmount.toString(), - ); return balanceWei >= buyQuote.worstCaseQuoteInfo.totalEthAmount; }, }; |