fix: fix add_path func leaf determination

This commit is contained in:
Andrey Khmuro
2023-06-03 15:38:24 +03:00
parent ebf71c2dc7
commit 55cc71dadf
2 changed files with 8 additions and 7 deletions

View File

@@ -133,6 +133,9 @@ fn check_leaf_depth() {
assert_eq!(pmt.get_leaf_depth(7).unwrap(), 1);
}
// TODO: add test for add_path function and check correctness of leaf determination (requires
// inner_nodes iter)
// HELPER FUNCTIONS
// --------------------------------------------------------------------------------------------