From 28d5335c13a86a1f4b7e34d595b21215344ae85e Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Wed, 16 Jul 2025 21:06:00 +0800 Subject: [PATCH] eth/downloader: fix lint --- eth/downloader/beaconsync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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