From 7006e4e3e62266b187fe3b0a178aeed49a9dada4 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 15 Oct 2021 02:02:49 +0100 Subject: [PATCH] Remove invalid parameters in MerkleProof tests (#2912) --- test/utils/cryptography/MerkleProof.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/cryptography/MerkleProof.test.js b/test/utils/cryptography/MerkleProof.test.js index cb7be8642..dab2062d4 100644 --- a/test/utils/cryptography/MerkleProof.test.js +++ b/test/utils/cryptography/MerkleProof.test.js @@ -37,7 +37,7 @@ contract('MerkleProof', function (accounts) { const badElements = ['d', 'e', 'f']; const badMerkleTree = new MerkleTree(badElements); - const badProof = badMerkleTree.getHexProof(badElements[0], keccak256, { hashLeaves: true, sortPairs: true }); + const badProof = badMerkleTree.getHexProof(badElements[0]); expect(await this.merkleProof.verify(badProof, correctRoot, correctLeaf)).to.equal(false); });