From 313713a061a7bc233b291767dd1da20a35a2378d Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 8 Nov 2019 07:39:22 +0300 Subject: [PATCH] fix tests --- test/MerkleTreeWithHistory.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/MerkleTreeWithHistory.test.js b/test/MerkleTreeWithHistory.test.js index dc019fc..a302998 100644 --- a/test/MerkleTreeWithHistory.test.js +++ b/test/MerkleTreeWithHistory.test.js @@ -181,7 +181,7 @@ contract('MerkleTreeWithHistory', accounts => { }) it('should reject if tree is full', async () => { - levels = 6 + const levels = 6 const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels) for (let i = 0; i < 2**levels; i++) { @@ -196,7 +196,7 @@ contract('MerkleTreeWithHistory', accounts => { }) it.skip('hasher gas', async () => { - levels = 6 + const levels = 6 const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels) const zeroValue = await merkleTreeWithHistory.zeroValue()