make registrar available in console

This commit is contained in:
Bas van Kervel 2015-05-22 09:13:45 +02:00
parent 054abe20b8
commit 821b578f7e

View File

@ -141,7 +141,7 @@ var net = web3.net;
utils.Fatalf("Error setting namespaces: %v", err) 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("/") var ds, _ = docserver.New("/")