fixed example
This commit is contained in:
parent
2f3384947b
commit
f9cc090473
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue