mirror of https://github.com/status-im/op-geth.git
Merge pull request #1074 from bas-vk/issue1068
make registrar available in console
This commit is contained in:
commit
f5e112ae5a
|
@ -141,7 +141,7 @@ var net = web3.net;
|
|||
utils.Fatalf("Error setting namespaces: %v", err)
|
||||
}
|
||||
|
||||
js.re.Eval(globalRegistrar + "registrar = new GlobalRegistrar(\"" + globalRegistrarAddr + "\");")
|
||||
js.re.Eval(globalRegistrar + "registrar = GlobalRegistrar.at(\"" + globalRegistrarAddr + "\");")
|
||||
}
|
||||
|
||||
var ds, _ = docserver.New("/")
|
||||
|
|
Loading…
Reference in New Issue