diff --git a/eth/downloader/beaconsync.go b/eth/downloader/beaconsync.go index 05127f570e..12b74a1ba9 100644 --- a/eth/downloader/beaconsync.go +++ b/eth/downloader/beaconsync.go @@ -252,7 +252,7 @@ func (d *Downloader) findBeaconAncestor() (uint64, error) { h := d.skeleton.Header(check) if h == nil { return 0, fmt.Errorf("filled skeleton header is missing: %d", check) - } + } n := h.Number.Uint64() var known bool