aboutsummaryrefslogtreecommitdiffstats
path: root/example/contract.html
diff options
context:
space:
mode:
Diffstat (limited to 'example/contract.html')
-rw-r--r--example/contract.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/contract.html b/example/contract.html
index 3d0260d34..f3dd7d3af 100644
--- a/example/contract.html
+++ b/example/contract.html
@@ -53,7 +53,7 @@
var param = parseInt(document.getElementById('value').value);
// call the contract
- var res = contract.multiply(param).call();
+ var res = contract.multiply(param);
document.getElementById('result').innerText = res[0];
}