aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-22 17:22:49 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-22 17:22:49 +0800
commitf5e112ae5a08cf6cb63682fdc3e7dcbcb683c757 (patch)
tree7cf48e86a5a81c9896962dda31d34efc8721bee5
parent054abe20b81ada11a820405f4a42f59cea9f9199 (diff)
parent821b578f7e05e956a9751e1664b58b3a455b9653 (diff)
downloadgo-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar.gz
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar.bz2
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar.lz
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar.xz
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.tar.zst
go-tangerine-f5e112ae5a08cf6cb63682fdc3e7dcbcb683c757.zip
Merge pull request #1074 from bas-vk/issue1068
make registrar available in console
-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("/")