Skip to content

Commit

Permalink
eth/downloader: fix backfiller resume on early beacon termination
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Mar 18, 2022
1 parent eae36aa commit 847be24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/skeleton.go
Expand Up @@ -438,7 +438,7 @@ func (s *skeleton) sync(head *types.Header) (*types.Header, error) {
// New head was integrated into the skeleton chain. If the backfiller
// is still running, it will pick it up. If it already terminated,
// a new cycle needs to be spun up.
if s.scratchHead == 0 {
if linked {
s.filler.resume()
}

Expand Down

0 comments on commit 847be24

Please sign in to comment.