Skip to content

Commit 2843a0c

Browse files
committed
core/chain_makers.go
1 parent 4214a7b commit 2843a0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/utils/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

core/blockchain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)