mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(trie): delete removed node from updated nodes in sparse trie (#13822)
This commit is contained in:
@ -835,6 +835,7 @@ impl<P> RevealedSparseTrie<P> {
|
||||
{
|
||||
// If new tree and hash masks are empty, but previously they weren't, we
|
||||
// need to remove the node.
|
||||
updates.updated_nodes.remove(&path);
|
||||
updates.removed_nodes.insert(path.clone());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user