refactor: replace MerklePathSet with PartialMerkleTree

This commit is contained in:
Andrey Khmuro
2023-06-23 23:12:52 +03:00
parent 8c749e473a
commit 71b04d0734
8 changed files with 53 additions and 469 deletions

View File

@@ -326,8 +326,8 @@ mod tests {
// check that the proof contains the expected values
for (key, _) in ITEMS.iter() {
match get_items.contains(key) {
true => assert_eq!(proof.contains_key(key), true),
false => assert_eq!(proof.contains_key(key), false),
true => assert!(proof.contains_key(key)),
false => assert!(!proof.contains_key(key)),
}
}
}