diff options
author | Bas van Kervel <basvankervel@ziggo.nl> | 2015-05-22 15:13:45 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@ziggo.nl> | 2015-05-22 15:13:45 +0800 |
commit | 821b578f7e05e956a9751e1664b58b3a455b9653 (patch) | |
tree | 7cf48e86a5a81c9896962dda31d34efc8721bee5 /cmd/geth/js.go | |
parent | 054abe20b81ada11a820405f4a42f59cea9f9199 (diff) | |
download | go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.gz go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.zst go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.zip |
make registrar available in console
Diffstat (limited to 'cmd/geth/js.go')
-rw-r--r-- | cmd/geth/js.go | 2 |
1 files changed, 1 insertions, 1 deletions
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("/") |