From 75964bb4765438a284ebe43679d193511d261d82 Mon Sep 17 00:00:00 2001 From: Hannes Karppila Date: Fri, 3 Jan 2025 16:02:38 +0200 Subject: [PATCH] Add a missing return --- crates/services/shared-sequencer/src/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/services/shared-sequencer/src/service.rs b/crates/services/shared-sequencer/src/service.rs index 491a149455..7b632f35e5 100644 --- a/crates/services/shared-sequencer/src/service.rs +++ b/crates/services/shared-sequencer/src/service.rs @@ -212,7 +212,7 @@ where let blobs_bytes = postcard::to_allocvec(&blobs).expect("Failed to serialize SSBlob"); if let Err(err) = ss.send(self.signer.as_ref(), account, next_order, blobs_bytes).await { - TaskNextAction::ErrorContinue(err); + return TaskNextAction::ErrorContinue(err); } tracing::info!("Posted block to shared sequencer {blobs:?}");