diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:58:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:58:30 +0800 |
commit | 126048bac9f52871b841d9898cabe7cfd265ebb6 (patch) | |
tree | bcb2d17aeeaa4a99482bdf8e8a41758f02fd4ee4 /packages/contracts/test/ts/exchange/wrapper.ts | |
parent | 274aa50d740e4f3af9e3d50468843ed19b555aa3 (diff) | |
download | dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.gz dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.bz2 dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.lz dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.xz dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.zst dexon-0x-contracts-126048bac9f52871b841d9898cabe7cfd265ebb6.zip |
Fix connect unused vars
Diffstat (limited to 'packages/contracts/test/ts/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/ts/exchange/wrapper.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/test/ts/exchange/wrapper.ts b/packages/contracts/test/ts/exchange/wrapper.ts index 3097f6887..13a0b6058 100644 --- a/packages/contracts/test/ts/exchange/wrapper.ts +++ b/packages/contracts/test/ts/exchange/wrapper.ts @@ -227,8 +227,6 @@ contract('Exchange', (accounts: string[]) => { it('should throw if a single order does not fill the expected amount', async () => { const fillTakerTokenAmounts: BigNumber[] = []; - const makerToken = rep.address; - const takerToken = dgd.address; orders.forEach(order => { const fillTakerTokenAmount = order.params.takerTokenAmount.div(2); fillTakerTokenAmounts.push(fillTakerTokenAmount); @@ -311,7 +309,7 @@ contract('Exchange', (accounts: string[]) => { const cancelTakerTokenAmounts = _.map(orders, order => order.params.takerTokenAmount); await exWrapper.batchCancelOrdersAsync(orders, maker, {cancelTakerTokenAmounts}); - const res = await exWrapper.batchFillOrdersAsync( + await exWrapper.batchFillOrdersAsync( orders, taker, {fillTakerTokenAmounts: cancelTakerTokenAmounts}); const newBalances = await dmyBalances.getAsync(); expect(balances).to.be.deep.equal(newBalances); |