aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:37:52 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:37:52 +0800
commited3d1a8142e6f65480f95df7c3991ae00c757e38 (patch)
tree394da30c632c575f105a1c9650660552ade83ff0 /src/contract_wrappers/exchange_wrapper.ts
parentc9fe2b16b9efcef123e8402d38f84a966f49f4f7 (diff)
downloaddexon-0x-contracts-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.gz
dexon-0x-contracts-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.zst
dexon-0x-contracts-ed3d1a8142e6f65480f95df7c3991ae00c757e38.zip
Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 7b0394391..5c5a46a03 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -121,7 +121,7 @@ export class ExchangeWrapper extends ContractWrapper {
signedOrderSchema);
assert.isBigNumber('fillTakerAmount', fillTakerAmount);
assert.isBoolean('shouldCheckTransfer', shouldCheckTransfer);
- await assert.isSenderAccountHexAsync('takerAddress', takerAddress, this.web3Wrapper);
+ await assert.isSenderAddressHexAsync('takerAddress', takerAddress, this.web3Wrapper);
const exchangeInstance = await this.getExchangeContractAsync();
await this.validateFillOrderAndThrowIfInvalidAsync(signedOrder, fillTakerAmount, takerAddress);