Updated sample coin
This commit is contained in:
		
							parent
							
								
									ed64434dcc
								
							
						
					
					
						commit
						2582d719b2
					
				| @ -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) | ||||
| 	}) | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user