From 01f4ab5bf1e432d43b056caae35ce063d83b59e5 Mon Sep 17 00:00:00 2001 From: Marvin Jones Date: Wed, 24 Jun 2026 14:04:36 -0400 Subject: [PATCH] fix: clarify doc comment on apply_mempool_transaction --- lez/sequencer/core/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lez/sequencer/core/src/lib.rs b/lez/sequencer/core/src/lib.rs index 493f46ba..ccb9e220 100644 --- a/lez/sequencer/core/src/lib.rs +++ b/lez/sequencer/core/src/lib.rs @@ -335,8 +335,9 @@ impl SequencerCore { Ok(self.chain_height) } - /// Builds a new block from transactions in the mempool. - /// Does NOT publish or store the block — the caller is responsible for that. + /// Validates and applies a single mempool transaction to the current state. + /// Returns `Ok(true)` if the transaction was valid and applied, `Ok(false)` if + /// it was skipped due to validation failure. fn apply_mempool_transaction( &mut self, origin: TransactionOrigin,