Skip to content

Commit

Permalink
Revert "Fix new_heads Events Emission on Block Forks (#9738)"
Browse files Browse the repository at this point in the history
This reverts commit f4aefdc.
  • Loading branch information
yperbasis committed Apr 25, 2024
1 parent d2aaa68 commit a5f144f
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 a5f144f

Please sign in to comment.