core/vm/runtime: fix typos in comment (#20608)
This commit is contained in:
parent
594e038e75
commit
24cab2d535
@ -90,8 +90,8 @@ func setDefaults(cfg *Config) {
|
||||
// Execute executes the code using the input as call data during the execution.
|
||||
// It returns the EVM's return value, the new state and an error if it failed.
|
||||
//
|
||||
// Executes sets up a in memory, temporarily, environment for the execution of
|
||||
// the given code. It makes sure that it's restored to it's original state afterwards.
|
||||
// Execute sets up an in-memory, temporary, environment for the execution of
|
||||
// the given code. It makes sure that it's restored to its original state afterwards.
|
||||
func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) {
|
||||
if cfg == nil {
|
||||
cfg = new(Config)
|
||||
|
Loading…
Reference in New Issue
Block a user