mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-09 23:51:30 +01:00
chore: clarified assert message
This commit is contained in:
@@ -108,7 +108,10 @@ impl MerkleTree {
|
||||
index.move_up();
|
||||
}
|
||||
|
||||
debug_assert!(index.is_root(), "the path must include the root");
|
||||
debug_assert!(
|
||||
index.is_root(),
|
||||
"the path walk must go all the way to the root"
|
||||
);
|
||||
|
||||
Ok(path.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user