Browse Source

Added some quotes ....

obscuren 10 years ago
parent
commit
ec9fbf09aa
2 changed files with 1 additions and 2 deletions
  1. 1 1
      cmd/geth/js.go
  2. 0 1
      jsre/ethereum_js.go

+ 1 - 1
cmd/geth/js.go

@@ -136,7 +136,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 = new GlobalRegistrar(\"" + globalRegistrarAddr + "\");")
 }
 
 func (self *jsre) ConfirmTransaction(tx *types.Transaction) bool {

File diff suppressed because it is too large
+ 0 - 1
jsre/ethereum_js.go


Some files were not shown because too many files changed in this diff