File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ var (
164164
165165 SyncModeFlag = & cli.StringFlag {
166166 Name : "syncmode" ,
167- Usage : `Blockchain sync mode ("fast" or " full")` ,
167+ Usage : `Blockchain sync mode ("full")` ,
168168 Value : ethconfig .Defaults .SyncMode .String (),
169169 Category : flags .EthCategory ,
170170 }
Original file line number Diff line number Diff line change @@ -521,9 +521,9 @@ func (bc *BlockChain) SetHead(head uint64) error {
521521 return bc .loadLastState ()
522522}
523523
524- // FastSyncCommitHead sets the current head block to the one defined by the hash
524+ // SnapSyncCommitHead sets the current head block to the one defined by the hash
525525// irrelevant what the chain contents were prior.
526- func (bc * BlockChain ) FastSyncCommitHead (hash common.Hash ) error {
526+ func (bc * BlockChain ) SnapSyncCommitHead (hash common.Hash ) error {
527527 // Make sure that both the block as well at its state trie exists
528528 block := bc .GetBlockByHash (hash )
529529 if block == nil {
You can’t perform that action at this time.
0 commit comments