eth/downloader: fix typo in comment (#22019)

This commit is contained in:
ucwong
2020-12-21 22:39:58 +08:00
committed by GitHub
parent c5a3ffa363
commit 61469cfeaf

View File

@ -25,7 +25,7 @@ type SyncMode uint32
const ( const (
FullSync SyncMode = iota // Synchronise the entire blockchain history from full blocks FullSync SyncMode = iota // Synchronise the entire blockchain history from full blocks
FastSync // Quickly download the headers, full sync only at the chain FastSync // Quickly download the headers, full sync only at the chain
SnapSync // Download the chain and the state via compact snashots SnapSync // Download the chain and the state via compact snapshots
LightSync // Download only the headers and terminate afterwards LightSync // Download only the headers and terminate afterwards
) )