mirror of
https://github.com/vacp2p/zerokit.git
synced 2026-01-09 22:47:56 -05:00
Integrate pmtree into rln (#147)
* feat: integrate pmtree with zerokit * fix: tests
This commit is contained in:
committed by
GitHub
parent
4f98fd8028
commit
fd7d7d9318
@@ -96,8 +96,7 @@ mod test {
|
||||
|
||||
// We now delete all leaves set and check if the root corresponds to the empty tree root
|
||||
// delete calls over indexes higher than no_of_leaves are ignored and will not increase self.tree.next_index
|
||||
let delete_range = 2 * no_of_leaves;
|
||||
for i in 0..delete_range {
|
||||
for i in 0..no_of_leaves {
|
||||
let success = delete_leaf(rln_pointer, i);
|
||||
assert!(success, "delete leaf call failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user