mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth/ethconfig: fix typo on comment
This commit is contained in:
parent
0851861739
commit
24c1ecce48
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ func CreateConsensusEngine(config *params.ChainConfig, db ethdb.Database) (conse
|
||||||
return beacon.New(clique.New(config.Clique, db)), nil
|
return beacon.New(clique.New(config.Clique, db)), nil
|
||||||
}
|
}
|
||||||
// If defaulting to proof-of-work, enforce an already merged network since
|
// If defaulting to proof-of-work, enforce an already merged network since
|
||||||
// we cannot run PoW algorithms and more, so we cannot even follow a chain
|
// we cannot run PoW algorithms anymore, so we cannot even follow a chain
|
||||||
// not coordinated by a beacon node.
|
// not coordinated by a beacon node.
|
||||||
if !config.TerminalTotalDifficultyPassed {
|
if !config.TerminalTotalDifficultyPassed {
|
||||||
return nil, errors.New("ethash is only supported as a historical component of already merged networks")
|
return nil, errors.New("ethash is only supported as a historical component of already merged networks")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue