remove unneeded assertion from _isRoundingErrorAsync since one can make static calls without an available address

This commit is contained in:
Fabio Berger
2017-08-16 15:44:20 -07:00
parent a32b94bac4
commit 2e668a771a

View File

@@ -711,7 +711,6 @@ export class ExchangeWrapper extends ContractWrapper {
private async _isRoundingErrorAsync(numerator: BigNumber.BigNumber,
demoninator: BigNumber.BigNumber,
makerTokenAmount: BigNumber.BigNumber): Promise<boolean> {
await assert.isUserAddressAvailableAsync(this._web3Wrapper);
const exchangeInstance = await this._getExchangeContractAsync();
const isRoundingError = await exchangeInstance.isRoundingError.call(
demoninator, numerator, makerTokenAmount,