Skip to content

Commit

Permalink
update param name
Browse files Browse the repository at this point in the history
  • Loading branch information
coldstar1993 committed Mar 9, 2024
1 parent 0cf46cd commit b76ad0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/alternatives/new_standard_index_tree_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let db = new Level<string, Buffer>('example-index-db', {valueEncoding:'buffer'})
let poseidonHasher = new PoseidonHasher();

// tree height: 4
const PRIVATE_DATA_TREE_HEIGHT = 4;
const PRIVATE_NULLIFIER_TREE_HEIGHT = 4;

// indicate if need consider the cached leaves, beside the existing leaves.
const includeUncommitted = true;
Expand All @@ -24,7 +24,7 @@ const standardIndexedTreeInstance: StandardIndexedTree = await newTree(
db,
poseidonHasher,
'NULLIFIER_TREE',
PRIVATE_DATA_TREE_HEIGHT
PRIVATE_NULLIFIER_TREE_HEIGHT
);
console.log('standard indexed tree initial root: ', standardIndexedTreeInstance.getRoot(includeUncommitted).toString());

Expand Down

0 comments on commit b76ad0f

Please sign in to comment.