diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-03-24 03:17:54 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 8f809e3a292c55e0f6440f9cf7c8746ede7ad583 (patch) | |
tree | 084ff67fed5dae3a3a39d452be1025800c264203 /packages/contracts/test/exchange/wrapper.ts | |
parent | 3f76985435c18c5b8087f1c681310b40613093e7 (diff) | |
download | dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar.gz dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar.bz2 dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar.lz dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar.xz dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.tar.zst dexon-sol-tools-8f809e3a292c55e0f6440f9cf7c8746ede7ad583.zip |
Remove partial cancels
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index 02e57b922..b87f45387 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -724,9 +724,7 @@ describe('Exchange', () => { describe('batchCancelOrders', () => { it('should be able to cancel multiple signedOrders', async () => { const takerTokenCancelAmounts = _.map(signedOrders, signedOrder => signedOrder.takerTokenAmount); - await exWrapper.batchCancelOrdersAsync(signedOrders, makerAddress, { - takerTokenCancelAmounts, - }); + await exWrapper.batchCancelOrdersAsync(signedOrders, makerAddress); await exWrapper.batchFillOrdersAsync(signedOrders, takerAddress, { takerTokenFillAmounts: takerTokenCancelAmounts, |