mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-12 06:46:25 +00:00
fixed example
This commit is contained in:
parent
2f3384947b
commit
f9cc090473
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
function callExampleContract() {
|
function callExampleContract() {
|
||||||
// this should be generated by ethereum
|
// this should be generated by ethereum
|
||||||
var param = document.getElementById('value').value;
|
var param = parseInt(document.getElementById('value').value);
|
||||||
|
|
||||||
// call the contract
|
// call the contract
|
||||||
contract.multiply(param).call().then(function(res) {
|
contract.multiply(param).call().then(function(res) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user