diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-06 00:29:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-06 01:13:02 +0800 |
commit | 9d2166a964d83c09481dea6ef30889f260249295 (patch) | |
tree | 3826f70ae465e956b0d1511be7776911dbadfcf1 /cmd/mist/assets/examples/coin.html | |
parent | 1d519854e2bfe8d5f2e8674f4f04ccf9aeaabe84 (diff) | |
download | go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar.gz go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar.bz2 go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar.lz go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar.xz go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.tar.zst go-tangerine-9d2166a964d83c09481dea6ef30889f260249295.zip |
wip
Diffstat (limited to 'cmd/mist/assets/examples/coin.html')
-rw-r--r-- | cmd/mist/assets/examples/coin.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html index a84a828af..9d1a83171 100644 --- a/cmd/mist/assets/examples/coin.html +++ b/cmd/mist/assets/examples/coin.html @@ -93,18 +93,18 @@ function transact() { var to = document.querySelector("#address").value; if( to.length == 0 ) { - to = "0x4205b06c2cfa0e30359edcab94543266cb6fa1d3"; + to = "0x4205b06c2cfa0e30359edcab94543266cb6fa1d3"; } else { to = "0x"+to; } - - var value = parseInt( document.querySelector("#amount").value ); - - contract.transact({gas: "10000", gasprice: eth.gasPrice}).send( to, value ); - } - - reflesh(); -</script> - + + var value = parseInt( document.querySelector("#amount").value ); + + contract.transact({gas: "10000", gasprice: eth.gasPrice}).send( to, value ); + } + + reflesh(); + </script> + </html> |