mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 04:56:36 +00:00
core/vm/runtime: fix typos in comment (#20608)
This commit is contained in:
parent
594e038e75
commit
24cab2d535
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue