We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd7408 commit f61b669Copy full SHA for f61b669
src/lib/provable/test/merkle-tree.unit-test.ts
@@ -100,7 +100,7 @@ console.log(
100
expect(map.length.toBigInt()).toEqual(1n);
101
let initialTree = new MerkleTree(3);
102
initialTree.setLeaf(0n, Leaf.hashNode(IndexedMerkleMap(3)._firstLeaf));
103
- // The root now combines the internal root with the length for security
+ // The merkle root is combined with length for safety
104
let expectedRoot = Poseidon.hash([initialTree.getRoot(), Field(1)]);
105
expect(map.root).toEqual(expectedRoot);
106
0 commit comments