From 8f9c061b03aa0986994096e688da9cb6e31a1468 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 7 Sep 2021 12:48:32 +0300 Subject: [PATCH] lint fix --- test/full.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/full.test.js b/test/full.test.js index 6d1a980..d5a576e 100644 --- a/test/full.test.js +++ b/test/full.test.js @@ -14,7 +14,7 @@ const { Keypair } = require('../src/keypair') describe('TornadoPool', function () { this.timeout(20000) - let tornadoPool, sender, gov, messenger + let gov, messenger async function deploy(contractName, ...args) { const Factory = await ethers.getContractFactory(contractName) @@ -23,7 +23,7 @@ describe('TornadoPool', function () { } async function fixture() { - ;[sender, gov] = await ethers.getSigners() + ;[, gov] = await ethers.getSigners() const verifier2 = await deploy('Verifier2') const verifier16 = await deploy('Verifier16') @@ -38,7 +38,7 @@ describe('TornadoPool', function () { await messenger.deployed() const CrossChainUpgradeableProxy = await ethers.getContractFactory('CrossChainUpgradeableProxy') - proxy = await CrossChainUpgradeableProxy.deploy( + const proxy = await CrossChainUpgradeableProxy.deploy( tornadoPoolImpl.address, gov.address, [], @@ -47,7 +47,7 @@ describe('TornadoPool', function () { await proxy.deployed() /** @type {TornadoPool} */ - tornadoPool = Pool.attach(proxy.address) + const tornadoPool = Pool.attach(proxy.address) await tornadoPool.initialize(toFixedHex(root)) return { tornadoPool }