core/vm/runtime: fix typos in comment

This commit is contained in:
Guillaume Ballet 2020-01-29 16:26:30 +01:00
parent 44c365c3e2
commit f313849488

View file

@ -90,8 +90,8 @@ func setDefaults(cfg *Config) {
// Execute executes the code using the input as call data during the execution. // 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. // 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 // Execute sets up an in-memory, temporary, environment for the execution of
// the given code. It makes sure that it's restored to it's original state afterwards. // 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) { func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) {
if cfg == nil { if cfg == nil {
cfg = new(Config) cfg = new(Config)