forked from cerc-io/plugeth
eth/downloader: fix typo in downloader.go (#24704)
synchornization -> synchronization
This commit is contained in:
parent
637cf34ded
commit
40cfe71002
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user