aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-08-17 12:23:32 +0800
committerGitHub <noreply@github.com>2017-08-17 12:23:32 +0800
commitc39407365338140eebb32858690f08ddc27391e5 (patch)
treebc658d302a4877c99cb30de23875ed1d84a6ebe3 /src/contract_wrappers/exchange_wrapper.ts
parent1c553cb6b7ed02b48634d4b0437c3ff87fa2118f (diff)
parentb95d93a43b3020e1ebf4f319d78d918ea0fe8802 (diff)
downloaddexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar.gz
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar.bz2
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar.lz
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar.xz
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.tar.zst
dexon-sol-tools-c39407365338140eebb32858690f08ddc27391e5.zip
Merge pull request #120 from 0xProject/addTestWithWeb3WithoutAddresses
Remove unnecessary assertions & add regression tests
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts1
1 files changed, 0 insertions, 1 deletions
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<boolean> {
- await assert.isUserAddressAvailableAsync(this._web3Wrapper);
const exchangeInstance = await this._getExchangeContractAsync();
const isRoundingError = await exchangeInstance.isRoundingError.call(
demoninator, numerator, makerTokenAmount,