Skip to content

Commit

Permalink
fix: block progress
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Dec 5, 2024
1 parent a3c2c88 commit a57eec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/stagedsync/stage_execute_block_eecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit a57eec8

Please sign in to comment.