Skip to content

Commit db9afae

Browse files
authored
eth, params: fix typos (#28286)
* eth/ethconfig: fix typo on comment * params/config: fix typo on comment * eth/ethconfig: fix typo on comment
1 parent fa6107c commit db9afae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eth/ethconfig/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var Defaults = Config{
8383

8484
//go:generate go run github.com/fjl/gencodec -type Config -formats toml -out gen_config.go
8585

86-
// Config contains configuration options for of the ETH and LES protocols.
86+
// Config contains configuration options for ETH and LES protocols.
8787
type Config struct {
8888
// The genesis block, which is inserted if the database is empty.
8989
// If nil, the Ethereum main net block is used.
@@ -177,7 +177,7 @@ func CreateConsensusEngine(config *params.ChainConfig, db ethdb.Database) (conse
177177
return beacon.New(clique.New(config.Clique, db)), nil
178178
}
179179
// If defaulting to proof-of-work, enforce an already merged network since
180-
// we cannot run PoW algorithms and more, so we cannot even follow a chain
180+
// we cannot run PoW algorithms anymore, so we cannot even follow a chain
181181
// not coordinated by a beacon node.
182182
if !config.TerminalTotalDifficultyPassed {
183183
return nil, errors.New("ethash is only supported as a historical component of already merged networks")

params/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ var (
214214
}
215215

216216
// TestChainConfig contains every protocol change (EIPs) introduced
217-
// and accepted by the Ethereum core developers for testing proposes.
217+
// and accepted by the Ethereum core developers for testing purposes.
218218
TestChainConfig = &ChainConfig{
219219
ChainID: big.NewInt(1),
220220
HomesteadBlock: big.NewInt(0),

0 commit comments

Comments
 (0)