fix: clarify doc comment on apply_mempool_transaction

This commit is contained in:
Marvin Jones 2026-06-24 14:04:36 -04:00
parent 056b510e9f
commit 01f4ab5bf1

View File

@ -335,8 +335,9 @@ impl<BP: BlockPublisherTrait> SequencerCore<BP> {
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,