aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 21:48:47 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 21:48:47 +0800
commit08b7c24bbf23685814c5bba5148577022e40e8b0 (patch)
tree305e404e9740976e409af8a53214b93c359a8d84 /src
parent8aa673aabe292e7d4684f7cc98ec6ef2ea55ca09 (diff)
downloaddexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar.gz
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar.bz2
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar.lz
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar.xz
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.tar.zst
dexon-sol-tools-08b7c24bbf23685814c5bba5148577022e40e8b0.zip
Fix tests
Diffstat (limited to 'src')
-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 b8e34b9e8..982a8c0c1 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -176,7 +176,7 @@ export class ExchangeWrapper extends ContractWrapper {
SchemaValidator.convertToJSONSchemaCompatibleObject(order as object),
signedOrderSchema);
assert.isBigNumber('cancelAmount', cancelAmount);
- await assert.isSenderAddressAvailableAsync(this.web3Wrapper, order.maker);
+ await assert.isSenderAddressAvailableAsync(this.web3Wrapper, 'order.maker', order.maker);
const exchangeInstance = await this.getExchangeContractAsync();
await this.validateCancelOrderAndThrowIfInvalidAsync(order, cancelAmount);