diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-06 21:13:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-06 21:13:03 +0800 |
commit | f54b513935dbba0dd1922566ed2fd4b4acbf6459 (patch) | |
tree | 8e1eac86923729adda647332c32052ff394c9bac /src/contract_wrappers/exchange_wrapper.ts | |
parent | 0dfc2b5f3b81e034a9c939f667383eb03c9a5561 (diff) | |
download | dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar.gz dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar.bz2 dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar.lz dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar.xz dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.tar.zst dexon-0x-contracts-f54b513935dbba0dd1922566ed2fd4b4acbf6459.zip |
Address feedback
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index e885b0e07..d3a53a9f7 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -297,7 +297,7 @@ export class ExchangeWrapper extends ContractWrapper { private async isRoundingErrorAsync(takerTokenAmount: BigNumber.BigNumber, fillTakerAmount: BigNumber.BigNumber, makerTokenAmount: BigNumber.BigNumber): Promise<boolean> { - await assert.isAnyAddressAvailableAsync(this.web3Wrapper); + await assert.isUserAddressAvailableAsync(this.web3Wrapper); const exchangeInstance = await this.getExchangeContractAsync(); const isRoundingError = await exchangeInstance.isRoundingError.call( takerTokenAmount, fillTakerAmount, makerTokenAmount, |