aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/samplecoin.html
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/samplecoin.html')
-rw-r--r--ethereal/assets/samplecoin.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/ethereal/assets/samplecoin.html b/ethereal/assets/samplecoin.html
index 73368a0b8..02efa8e01 100644
--- a/ethereal/assets/samplecoin.html
+++ b/ethereal/assets/samplecoin.html
@@ -9,7 +9,7 @@ function createTransaction() {
var amount = document.querySelector("#amount").value;
var data = "0x" + addr + "\n" + amount
- eth.createTx(jefcoinAddr, 0, "10000000", "250", data, function(tx) {
+ eth.transact("", jefcoinAddr, 0, "10000000", "250", data, function(tx) {
debug("received tx hash:", tx)
})
}
@@ -28,7 +28,6 @@ function init() {
});
eth.watch(jefcoinAddr, function(stateObject) {
- debug(stateObject);
eth.getStorage(jefcoinAddr, key, function(storage) {
document.querySelector("#currentAmount").innerHTML = "Amount: " + storage;
});