Address PR comment

This commit is contained in:
Antonio Antonino 2025-04-14 10:38:05 +02:00
parent da4d7c12e2
commit 5eb976c9ae
No known key found for this signature in database
GPG Key ID: 70CC1DF6BCF7E76D

View File

@ -31,11 +31,9 @@ where
.map(reth_ethereum::primitives::RecoveredBlock::into_block),
);
if let Some(committed_chain) = notification.committed_chain() {
ctx.events
.send(ExExEvent::FinishedHeight(committed_chain.tip().num_hash()))
.unwrap();
}
ctx.events
.send(ExExEvent::FinishedHeight(new.tip().num_hash()))
.unwrap();
}
Ok(())