aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/coin.html
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-06 00:29:41 +0800
committerobscuren <geffobscura@gmail.com>2015-02-06 01:13:02 +0800
commit9d2166a964d83c09481dea6ef30889f260249295 (patch)
tree3826f70ae465e956b0d1511be7776911dbadfcf1 /cmd/mist/assets/examples/coin.html
parent1d519854e2bfe8d5f2e8674f4f04ccf9aeaabe84 (diff)
downloaddexon-9d2166a964d83c09481dea6ef30889f260249295.tar.gz
dexon-9d2166a964d83c09481dea6ef30889f260249295.tar.zst
dexon-9d2166a964d83c09481dea6ef30889f260249295.zip
wip
Diffstat (limited to 'cmd/mist/assets/examples/coin.html')
-rw-r--r--cmd/mist/assets/examples/coin.html20
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>