From a57eec8bccb16de163377fe415d48cc8f5bf5ad7 Mon Sep 17 00:00:00 2001 From: Valentin Staykov Date: Thu, 5 Dec 2024 10:34:39 +0000 Subject: [PATCH] fix: block progress --- eth/stagedsync/stage_execute_block_eecutor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/stagedsync/stage_execute_block_eecutor.go b/eth/stagedsync/stage_execute_block_eecutor.go index 80c1b2b24a1..546f13b2e89 100644 --- a/eth/stagedsync/stage_execute_block_eecutor.go +++ b/eth/stagedsync/stage_execute_block_eecutor.go @@ -107,7 +107,7 @@ func (be *blockExecutor) SetNewTx(tx kv.RwTx, batch kv.StatelessRwTx) { } func (be *blockExecutor) GetProgress() uint64 { - if be.block == nil { + if be.block != nil { return be.block.NumberU64() }