Update beaconsync.go

This commit is contained in:
rjl493456442 2025-07-16 20:53:31 +08:00 committed by GitHub
parent cfbd22b927
commit 630e35ee1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,7 @@ func (d *Downloader) findBeaconAncestor() (uint64, error) {
h := d.skeleton.Header(check) h := d.skeleton.Header(check)
if h == nil { if h == nil {
return 0, fmt.Errorf("filled read skeleton header at number %d", check) return 0, fmt.Errorf("filled skeleton header is missing: %d", check)
} }
n := h.Number.Uint64() n := h.Number.Uint64()