make registrar available in console

pull/1074/head
Bas van Kervel 10 years ago
parent 054abe20b8
commit 821b578f7e
  1. 2
      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("/")

Loading…
Cancel
Save