Skip to content

Commit f61b669

Browse files
committed
docs: comment
1 parent 6cd7408 commit f61b669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/provable/test/merkle-tree.unit-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ console.log(
100100
expect(map.length.toBigInt()).toEqual(1n);
101101
let initialTree = new MerkleTree(3);
102102
initialTree.setLeaf(0n, Leaf.hashNode(IndexedMerkleMap(3)._firstLeaf));
103-
// The root now combines the internal root with the length for security
103+
// The merkle root is combined with length for safety
104104
let expectedRoot = Poseidon.hash([initialTree.getRoot(), Field(1)]);
105105
expect(map.root).toEqual(expectedRoot);
106106

0 commit comments

Comments
 (0)