diff --git a/src/Nethermind/Nethermind.Consensus/Processing/ProcessingStats.cs b/src/Nethermind/Nethermind.Consensus/Processing/ProcessingStats.cs index c975c529b83..f910880585f 100644 --- a/src/Nethermind/Nethermind.Consensus/Processing/ProcessingStats.cs +++ b/src/Nethermind/Nethermind.Consensus/Processing/ProcessingStats.cs @@ -122,7 +122,7 @@ void IThreadPoolWorkItem.Execute() if (block is null) return; Transaction[] txs = block.Transactions; - Address beneficiary = block.Header.GasBeneficiary; + Address beneficiary = block.Header.GasBeneficiary ?? Address.Zero; Transaction lastTx = txs.Length > 0 ? txs[^1] : null; bool isMev = false; if (lastTx is not null && (lastTx.SenderAddress == beneficiary || _alternateMevPayees.Contains(lastTx.SenderAddress)))