Skip to content

Commit

Permalink
Revert "Fix new_heads Events Emission on Block Forks (#9738)" (#10055)
Browse files Browse the repository at this point in the history
This reverts commit f4aefdc.

See PR #9738
  • Loading branch information
yperbasis authored Apr 25, 2024
1 parent 2fe4b37 commit 3323fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/stagedsync/stage_finish.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ func NotifyNewHeaders(ctx context.Context, finishStageBeforeSync uint64, finishS
heightSpan = 1024
}
notifyFrom = finishStageAfterSync - heightSpan
notifyFrom++
}
notifyFrom++

var notifyTo = notifyFrom
var notifyToHash libcommon.Hash
Expand Down

0 comments on commit 3323fdc

Please sign in to comment.