mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-07 12:24:01 +00:00
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…
x
Reference in New Issue
Block a user