diff --git a/ethereal/assets/samplecoin/samplecoin.html b/ethereal/assets/samplecoin/samplecoin.html index 6f35a1312..02e2bd6ea 100644 --- a/ethereal/assets/samplecoin/samplecoin.html +++ b/ethereal/assets/samplecoin/samplecoin.html @@ -16,8 +16,8 @@ function createTransaction() { var amount = document.querySelector("#amount").value; var data = (("0x"+addr).pad(32) + amount.pad(32)).unbin() - eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(tx) { - debug("received tx hash:", tx) + eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(receipt) { + debug("received tx hash:", receipt) }) }