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) {