Removed Key

pull/272/merge
obscuren 10 years ago
parent 590c393680
commit c8aa5feb14
  1. 2
      index.html

@ -8,7 +8,7 @@ function registerName() {
var name = document.querySelector("#name").value; var name = document.querySelector("#name").value;
name = eth.fromAscii(name); name = eth.fromAscii(name);
eth.transact({to: "NameReg", from: eth.key, gas: "10000", gasPrice: eth.gasPrice, data: [eth.fromAscii("register"), name]}).then(function(tx) { eth.transact({to: "NameReg", gas: "10000", gasPrice: eth.gasPrice, data: [eth.fromAscii("register"), name]}).then(function(tx) {
document.querySelector("#result").innerHTML = "Registered name. Please wait for the next block to come through."; document.querySelector("#result").innerHTML = "Registered name. Please wait for the next block to come through.";
}, function(err) { }, function(err) {
console.log(err); console.log(err);

Loading…
Cancel
Save