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,