From 2e668a771a5533182cfe010f022ab4c1f9afc1ba Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 16 Aug 2017 15:44:20 -0700 Subject: remove unneeded assertion from _isRoundingErrorAsync since one can make static calls without an available address --- src/contract_wrappers/exchange_wrapper.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 2ddd63422..5d7521e89 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -711,7 +711,6 @@ export class ExchangeWrapper extends ContractWrapper { private async _isRoundingErrorAsync(numerator: BigNumber.BigNumber, demoninator: BigNumber.BigNumber, makerTokenAmount: BigNumber.BigNumber): Promise { - await assert.isUserAddressAvailableAsync(this._web3Wrapper); const exchangeInstance = await this._getExchangeContractAsync(); const isRoundingError = await exchangeInstance.isRoundingError.call( demoninator, numerator, makerTokenAmount, -- cgit v1.2.3