diff --git a/core/state_transition.go b/core/state_transition.go index 0f9ee9eea5..1858c3b658 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -480,7 +480,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) { var ( ret []byte - vmerr error // vm errors do not effect consensus and are therefore not assigned to err + vmerr error // vm errors do not affect consensus and are therefore not assigned to err ) if contractCreation { ret, _, st.gasRemaining, vmerr = st.evm.Create(msg.From, msg.Data, st.gasRemaining, value) @@ -572,7 +572,7 @@ func (st *stateTransition) validateAuthorization(auth *types.SetCodeAuthorizatio return authority, fmt.Errorf("%w: %v", ErrAuthorizationInvalidSignature, err) } // Check the authority account - // 1) doesn't have code or has exisiting delegation + // 1) doesn't have code or has existing delegation // 2) matches the auth's nonce // // Note it is added to the access list even if the authorization is invalid.