mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
core/vm: Reintroduce some changes that got lost in the merge
This commit is contained in:
parent
ae38665a35
commit
0a7495c1c8
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ func ModuleResolver(interpreter *InterpreterEWASM, name string) (*wasm.Module, e
|
||||||
return debugModule, nil
|
return debugModule, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if name != "env" && name != "ethereum" {
|
if name != "ethereum" {
|
||||||
return nil, fmt.Errorf("Unknown module name: %s", name)
|
return nil, fmt.Errorf("Unknown module name: %s", name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue