Skip to content

Commit

Permalink
docs(trie): duplicate comment in sparse trie (paradigmxyz#13056)
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin authored Dec 2, 2024
1 parent 4f19fc6 commit cccbd90
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/trie/sparse/src/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -821,10 +821,6 @@ where
// there is no node at the path. When a leaf node is a blinded `Hash`, it will have an entry
// in `nodes`, but not in the `values`.

// If the path wasn't present in `values`, we still need to walk the trie and ensure that
// there is no node at the path. When a leaf node is a blinded `Hash`, it will have an entry
// in `nodes`, but not in the `values`.

let mut removed_nodes = self.take_nodes_for_path(path)?;
trace!(target: "trie::sparse", ?path, ?removed_nodes, "Removed nodes for path");
// Pop the first node from the stack which is the leaf node we want to remove.
Expand Down

0 comments on commit cccbd90

Please sign in to comment.