Skip to content

Commit

Permalink
Erigon3: never skip transactions in block production (#13861)
Browse files Browse the repository at this point in the history
Cherry pick #13813 into `release/3.0`

Co-authored-by: Giulio rebuffo <[email protected]>
  • Loading branch information
yperbasis and Giulio2002 authored Feb 18, 2025
1 parent 9da58c0 commit 73a00f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/stagedsync/exec3.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ Loop:
txTask.Config = cfg.genesis.Config
}

if txTask.TxNum <= txNumInDB && txTask.TxNum > 0 {
if txTask.TxNum <= txNumInDB && txTask.TxNum > 0 && !cfg.blockProduction {
inputTxNum++
skipPostEvaluation = true
continue
Expand Down

0 comments on commit 73a00f6

Please sign in to comment.