Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions crates/engine/tree/src/tree/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ impl<N: NodePrimitives> TreeState<N> {
self.blocks_by_number.entry(block_number).or_default().push(executed);

self.parent_to_child.entry(parent_hash).or_default().insert(hash);

for children in self.parent_to_child.values_mut() {
children.retain(|child| self.blocks_by_hash.contains_key(child));
}
Comment on lines -111 to -113
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, this really doesnt belong here and is kinda pointless here

}

/// Remove single executed block by its hash.
Expand Down