We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0c1e2 commit b92741aCopy full SHA for b92741a
crates/engine/tree/src/tree/mod.rs
@@ -704,8 +704,8 @@ where
704
// gather all blocks until new head number.
705
while current_canonical_number > current_number {
706
if let Some(block) = self.canonical_block_by_hash(old_hash)? {
707
- old_chain.push(block.clone());
708
old_hash = block.recovered_block().parent_hash();
+ old_chain.push(block);
709
current_canonical_number -= 1;
710
} else {
711
// This shouldn't happen as we're walking back the canonical chain
0 commit comments