Removed Key

This commit is contained in:
obscuren 2014-10-21 00:14:58 +02:00
parent 590c393680
commit c8aa5feb14
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ function registerName() {
var name = document.querySelector("#name").value;
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.";
}, function(err) {
console.log(err);