Skip to content

Commit 9d38466

Browse files
authored
eth/downloader: fix some typos (#26396)
1 parent db82ea2 commit 9d38466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/downloader/downloader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func (d *Downloader) syncWithPeer(p *peerConnection, hash common.Hash, td, ttd *
481481
return err
482482
}
483483
} else {
484-
// In beacon mode, user the skeleton chain to retrieve the headers from
484+
// In beacon mode, use the skeleton chain to retrieve the headers from
485485
latest, _, err = d.skeleton.Bounds()
486486
if err != nil {
487487
return err
@@ -1174,7 +1174,7 @@ func (d *Downloader) fetchHeaders(p *peerConnection, from uint64, head uint64) e
11741174
}
11751175
}
11761176
}
1177-
// If no headers have bene delivered, or all of them have been delayed,
1177+
// If no headers have been delivered, or all of them have been delayed,
11781178
// sleep a bit and retry. Take care with headers already consumed during
11791179
// skeleton filling
11801180
if len(headers) == 0 && !progressed {

0 commit comments

Comments
 (0)