diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 18:53:34 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 18:53:34 +0800 |
commit | f02368141f11511c06306184df0eda372382c2bf (patch) | |
tree | abbef517226698a1cd94ed9b45c4ff5491726421 | |
parent | 649b9cc195ac5b700c312b664a99217a4d530b03 (diff) | |
download | go-tangerine-f02368141f11511c06306184df0eda372382c2bf.tar.gz go-tangerine-f02368141f11511c06306184df0eda372382c2bf.tar.zst go-tangerine-f02368141f11511c06306184df0eda372382c2bf.zip |
fixed contract example
-rw-r--r-- | example/contract.html | 4 |
1 files 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); } </script> |