You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If trie consists of a single leaf node, no proofs would be collected if only non-existent prefixes are passed into proof retainer.
Example:
letmut builder =
HashBuilder::default().with_proof_retainer(vec![Nibbles::from_nibbles(&[0x01])]);
builder.add_leaf(Nibbles::from_nibbles(&[0x00]),&[0x00]);let _ = builder.root();// Empty but should include root nodeassert!(builder.take_proofs().is_empty());
The text was updated successfully, but these errors were encountered:
If trie consists of a single leaf node, no proofs would be collected if only non-existent prefixes are passed into proof retainer.
Example:
The text was updated successfully, but these errors were encountered: