From f02368141f11511c06306184df0eda372382c2bf Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 27 Jan 2015 11:53:34 +0100 Subject: [PATCH] fixed contract example --- example/contract.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/contract.html b/example/contract.html index da2282c86..dccd1a64f 100644 --- a/example/contract.html +++ b/example/contract.html @@ -52,8 +52,8 @@ var param = parseInt(document.getElementById('value').value); // call the contract - var res = contract.multiply(param); - document.getElementById('result').innerText = res[0]; + var res = contract.call().multiply(param); + document.getElementById('result').innerText = res.toString(10); }