linting
This commit is contained in:
@@ -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';
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user