mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 03:26:38 +00:00
Updated sample coin
This commit is contained in:
parent
ed64434dcc
commit
2582d719b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue