eth/downloader: fix lint

This commit is contained in:
Gary Rong 2025-07-16 21:06:00 +08:00
parent 0a3deb23aa
commit 28d5335c13

View file

@ -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