Skip to content

Commit

Permalink
Erigon3: never skip transactions in block production (#13813)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Feb 14, 2025
1 parent 07c6d32 commit 4ba8ca3
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 4ba8ca3

Please sign in to comment.