From 5eb976c9ae4f7446e8688d1a9b49ebbd1e30e959 Mon Sep 17 00:00:00 2001 From: Antonio Antonino Date: Mon, 14 Apr 2025 10:38:05 +0200 Subject: [PATCH] Address PR comment --- sz-poc-offsite-2025/evm/sequencer-node/src/main.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sz-poc-offsite-2025/evm/sequencer-node/src/main.rs b/sz-poc-offsite-2025/evm/sequencer-node/src/main.rs index cd4f76f..2de08b5 100644 --- a/sz-poc-offsite-2025/evm/sequencer-node/src/main.rs +++ b/sz-poc-offsite-2025/evm/sequencer-node/src/main.rs @@ -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(())