From a55e8b268c7e8b6c219c9f5c5cbf61d34d522cb2 Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Mon, 6 Jul 2020 14:32:51 -0400 Subject: [PATCH] `@0x/contracts-zero-ex`: Fix linter errors. --- contracts/zero-ex/test/features/meta_transactions_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/zero-ex/test/features/meta_transactions_test.ts b/contracts/zero-ex/test/features/meta_transactions_test.ts index 3205822ea7..35020bf632 100644 --- a/contracts/zero-ex/test/features/meta_transactions_test.ts +++ b/contracts/zero-ex/test/features/meta_transactions_test.ts @@ -469,10 +469,10 @@ blockchainTests.resets('MetaTransactions feature', env => { })(); const mtxHash = getExchangeProxyMetaTransactionHash(mtx); const mtxs = _.times(2, () => mtx); - const signatures = await Promise.all(mtxs.map(async mtx => signMetaTransactionAsync(mtx))); + const signatures = await Promise.all(mtxs.map(async m => signMetaTransactionAsync(m))); const callOpts = { - gasPrice: BigNumber.max(...mtxs.map(mtx => mtx.minGasPrice)), - value: BigNumber.sum(...mtxs.map(mtx => mtx.value)), + gasPrice: BigNumber.max(...mtxs.map(m => m.minGasPrice)), + value: BigNumber.sum(...mtxs.map(m => m.value)), }; const block = await env.web3Wrapper.getBlockNumberAsync(); const tx = feature.batchExecuteMetaTransactions(mtxs, signatures).callAsync(callOpts);