aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 01:22:27 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 01:22:48 +0800
commit6e01cf9a5a319f3f3543955fa9f9d673b2c06a82 (patch)
treed0c79dc9369fa5af88dcbb31dda819bcdac3b3cf /src/contract_wrappers
parenta786776d7cf52ab70d54e0dc421dc645a412b3c7 (diff)
downloaddexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar.gz
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar.bz2
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar.lz
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar.xz
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.tar.zst
dexon-sol-tools-6e01cf9a5a319f3f3543955fa9f9d673b2c06a82.zip
Address feedback
Diffstat (limited to 'src/contract_wrappers')
-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 aa79729c3..d92f87bd8 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -433,7 +433,7 @@ export class ExchangeWrapper extends ContractWrapper {
*/
public async batchCancelOrderAsync(orderCancellationRequests: OrderCancellationRequest[]): Promise<void> {
const makers = _.map(orderCancellationRequests, cancellationRequest => cancellationRequest.order.maker);
- assert.hashAtMostOneUniqueValue(makers, ExchangeContractErrs.MULTIPLE_MAKERS_IN_SINGLE_CANCEL_BATCH);
+ assert.hashAtMostOneUniqueValue(makers, ExchangeContractErrs.MULTIPLE_MAKERS_IN_SINGLE_CANCEL_BATCH_DISALLOWED);
const maker = makers[0];
await assert.isSenderAddressAsync('maker', maker, this.web3Wrapper);
_.forEach(orderCancellationRequests,