eth/downloader: fix typo in downloader.go (#24704)

synchornization -> synchronization
This commit is contained in:
Ikko Ashimine 2022-04-20 23:17:29 +09:00 committed by GitHub
parent 637cf34ded
commit 40cfe71002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ func (d *Downloader) LegacySync(id string, head common.Hash, td, ttd *big.Int, m
// checks fail an error will be returned. This method is synchronous
func (d *Downloader) synchronise(id string, hash common.Hash, td, ttd *big.Int, mode SyncMode, beaconMode bool, beaconPing chan struct{}) error {
// The beacon header syncer is async. It will start this synchronization and
// will continue doing other tasks. However, if synchornization needs to be
// will continue doing other tasks. However, if synchronization needs to be
// cancelled, the syncer needs to know if we reached the startup point (and
// inited the cancel cannel) or not yet. Make sure that we'll signal even in
// case of a failure.