From 73a00f694ee152a604ba2bf1d5afe2c3fb325e43 Mon Sep 17 00:00:00 2001 From: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com> Date: Tue, 18 Feb 2025 15:45:51 +0100 Subject: [PATCH] Erigon3: never skip transactions in block production (#13861) Cherry pick #13813 into `release/3.0` Co-authored-by: Giulio rebuffo --- eth/stagedsync/exec3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/stagedsync/exec3.go b/eth/stagedsync/exec3.go index cb5977476ec..2d6995345b0 100644 --- a/eth/stagedsync/exec3.go +++ b/eth/stagedsync/exec3.go @@ -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