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