Skip to content

Commit

Permalink
fix: bump number of leaves
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Nov 2, 2023
1 parent a8855d0 commit de1f723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tree/binary/test/BinaryMerkleTree.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ contract BinaryMerkleProofTest is DSTest {

uint256 key = 1;
// correct numLeaves: 5
uint256 numLeaves = 7;
uint256 numLeaves = 200;
BinaryMerkleProof memory proof = BinaryMerkleProof(sideNodes, key, numLeaves);
bytes memory data = bytes(hex"01");
bool isValid = BinaryMerkleTree.verify(root, proof, data);
Expand Down

0 comments on commit de1f723

Please sign in to comment.