diff --git a/eth/core/chain.go b/eth/core/chain.go index b6032ee6b..f1fae8e11 100644 --- a/eth/core/chain.go +++ b/eth/core/chain.go @@ -69,7 +69,7 @@ type blockchain struct { processor core.Processor validator core.Validator - // statedb is the state database that is used to mange state during transactions. + // statedb is the state database that is used to manage state during transactions. statedb state.StateDB // vmConfig is the configuration used to create the EVM. vmConfig *vm.Config diff --git a/eth/core/precompile/factories.go b/eth/core/precompile/factories.go index a94b2dcd0..bbb43761e 100644 --- a/eth/core/precompile/factories.go +++ b/eth/core/precompile/factories.go @@ -59,7 +59,7 @@ func NewStatelessFactory() *StatelessFactory { return &StatelessFactory{} } -// Build returns a stateless precompile container for the given base contract implememntation. +// Build returns a stateless precompile container for the given base contract implementation. // This function will return an error if the given contract is not a stateless implementation. // // Build implements `AbstractFactory`. diff --git a/eth/eth.go b/eth/eth.go index afa404fc2..cc184e84b 100644 --- a/eth/eth.go +++ b/eth/eth.go @@ -67,7 +67,7 @@ type ( // RegisterAPIs registers JSON-RPC handlers for the networking stack. RegisterAPIs([]rpc.API) - // RegisterLifecycles registers objects to have their lifecycle manged by the stack. + // RegisterLifecycles registers objects to have their lifecycle managed by the stack. RegisterLifecycle(node.Lifecycle) // Start starts the networking stack.