aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-08 22:31:46 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-08 22:31:46 +0800
commitf9cc09047351ce905d7257a73907398c17603607 (patch)
treea8e136cca60a2bff9ce3fc999f5e203ea41ae059
parent2f3384947bcf8393c98adab54eab0d9f0c46dfa0 (diff)
downloaddexon-f9cc09047351ce905d7257a73907398c17603607.tar.gz
dexon-f9cc09047351ce905d7257a73907398c17603607.tar.zst
dexon-f9cc09047351ce905d7257a73907398c17603607.zip
fixed example
-rw-r--r--example/contract.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/contract.html b/example/contract.html
index 44f0b03a1..403d8c9d1 100644
--- a/example/contract.html
+++ b/example/contract.html
@@ -50,7 +50,7 @@
function callExampleContract() {
// this should be generated by ethereum
- var param = document.getElementById('value').value;
+ var param = parseInt(document.getElementById('value').value);
// call the contract
contract.multiply(param).call().then(function(res) {