mirror of
https://github.com/tornadocash/fixed-merkle-tree.git
synced 2024-12-26 22:57:56 +01:00
update Readme
This commit is contained in:
parent
ec56e449f7
commit
22e923c469
@ -40,8 +40,7 @@ console.log(path)
|
||||
const treeEdge = tree.getTreeEdge(2)
|
||||
const partialTree = new PartialMerkleTree(10, treeEdge, tree.elements.slice(treeEdge.edgeIndex))
|
||||
console.log(partialTree.elements)
|
||||
// output
|
||||
[<2 empty items >, 3, 42, 5, 6]
|
||||
// [<2 empty items >, 3, 42, 5, 6]
|
||||
|
||||
const proofPath = partialTree.proof(3)
|
||||
console.log(proofPath)
|
||||
|
Loading…
Reference in New Issue
Block a user