mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
core: fix typo
This commit is contained in:
parent
c4d13471fc
commit
75fc954d96
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ func (bc *BlockChain) initializeHistoryPruning(latest uint64) error {
|
|||
log.Error("Chain history pruning is not supported for this network", "genesis", bc.genesisBlock.Hash())
|
||||
return fmt.Errorf("history pruning requested for unknown network")
|
||||
} else if freezerTail != predefinedPoint.BlockNumber {
|
||||
log.Error("Chain history database is pruned to unkown block", "tail", freezerTail)
|
||||
log.Error("Chain history database is pruned to unknown block", "tail", freezerTail)
|
||||
return fmt.Errorf("unexpected database tail")
|
||||
}
|
||||
bc.historyPrunePoint.Store(predefinedPoint)
|
||||
|
|
|
|||
Loading…
Reference in a new issue