natspec.js updated to use sync api
This commit is contained in:
parent
13f39afbdd
commit
29fa57e9b3
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
// transaction does not return any result, cause it's not synchronous and we don't know,
|
// transaction does not return any result, cause it's not synchronous and we don't know,
|
||||||
// when it will be processed
|
// when it will be processed
|
||||||
contract.multiply(param).transact();
|
contract.transact().multiply(param);
|
||||||
document.getElementById('result').innerText = 'transaction made';
|
document.getElementById('result').innerText = 'transaction made';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user