fixed example

This commit is contained in:
Marek Kotewicz 2015-01-08 15:31:46 +01:00
parent 2f3384947b
commit f9cc090473

View File

@ -50,7 +50,7 @@
function callExampleContract() { function callExampleContract() {
// this should be generated by ethereum // this should be generated by ethereum
var param = document.getElementById('value').value; var param = parseInt(document.getElementById('value').value);
// call the contract // call the contract
contract.multiply(param).call().then(function(res) { contract.multiply(param).call().then(function(res) {