aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 16:25:28 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 16:25:28 +0800
commit2a080427278d040d2e978ceb806e61818f13ae2f (patch)
tree00049cabbfb7cef858bf19efefbaf0c83c5d7c5f /src/contract_wrappers/exchange_wrapper.ts
parentbac6833436960d2a7eb50d89e94fed226a16008b (diff)
downloaddexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar.gz
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar.bz2
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar.lz
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar.xz
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.tar.zst
dexon-sol-tools-2a080427278d040d2e978ceb806e61818f13ae2f.zip
Add variableName to isSenderAddcountHexAsync
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 459e24608..35ba7770c 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(this.web3Wrapper, senderAccount);
+ await assert.isSenderAccountHexAsync('senderAccount', senderAccount, this.web3Wrapper);
const exchangeInstance = await this.getExchangeContractAsync();
await this.validateFillOrderAndThrowIfInvalidAsync(signedOrder, fillTakerAmount, senderAccount);