aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-05-22 15:13:45 +0800
committerBas van Kervel <basvankervel@ziggo.nl>2015-05-22 15:13:45 +0800
commit821b578f7e05e956a9751e1664b58b3a455b9653 (patch)
tree7cf48e86a5a81c9896962dda31d34efc8721bee5 /cmd
parent054abe20b81ada11a820405f4a42f59cea9f9199 (diff)
downloadgo-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.gz
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.bz2
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.lz
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.xz
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.tar.zst
go-tangerine-821b578f7e05e956a9751e1664b58b3a455b9653.zip
make registrar available in console
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/js.go2
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("/")