We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7968b49 commit bb7e57bCopy full SHA for bb7e57b
stackslib/src/net/api/postblock_proposal.rs
@@ -567,6 +567,10 @@ impl NakamotoBlockProposal {
567
if let Some(ref mut replay_txs) = replay_txs_maybe {
568
loop {
569
let Some(replay_tx) = replay_txs.pop_front() else {
570
+ // During transaction replay, we expect that the block only
571
+ // contains transactions from the replay set. Thus, if we're here,
572
+ // the block contains a transaction that is not in the replay set,
573
+ // and we should reject the block.
574
return Err(BlockValidateRejectReason {
575
reason_code: ValidateRejectCode::InvalidTransactionReplay,
576
reason: "Transaction is not in the replay set".into(),
0 commit comments