From 821b578f7e05e956a9751e1664b58b3a455b9653 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Fri, 22 May 2015 09:13:45 +0200 Subject: [PATCH] make registrar available in console --- cmd/geth/js.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/geth/js.go b/cmd/geth/js.go index f99051a1e..342a80bd2 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -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("/")