mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-06-25 22:50:29 -04:00
move unused tree args to the right and provide defaults
This commit is contained in:
parent
8f687ca146
commit
981325b1ff
5 changed files with 32 additions and 55 deletions
|
@ -26,7 +26,7 @@ function generateDeposit() {
|
|||
const dep2 = generateDeposit();
|
||||
const dep3 = generateDeposit();
|
||||
|
||||
const tree = new merkleTree("", new jsStorage(), new mimcHasher(), 16, 0);
|
||||
const tree = new merkleTree(16);
|
||||
|
||||
await tree.insert(dep1.commitment);
|
||||
await tree.insert(dep2.commitment);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue