Commit 2582d719 authored by obscuren's avatar obscuren

Updated sample coin

parent ed64434d
...@@ -16,8 +16,8 @@ function createTransaction() { ...@@ -16,8 +16,8 @@ function createTransaction() {
var amount = document.querySelector("#amount").value; var amount = document.querySelector("#amount").value;
var data = (("0x"+addr).pad(32) + amount.pad(32)).unbin() var data = (("0x"+addr).pad(32) + amount.pad(32)).unbin()
eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(tx) { eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(receipt) {
debug("received tx hash:", tx) debug("received tx hash:", receipt)
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment