core/vm/runtime: fix typos in comment (#20608)

pull/20609/head
Guillaume Ballet 5 years ago committed by GitHub
parent 594e038e75
commit 24cab2d535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      core/vm/runtime/runtime.go

@ -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…
Cancel
Save