Commit 29fa57e9 authored by Marek Kotewicz's avatar Marek Kotewicz

natspec.js updated to use sync api

parent 13f39afb
......@@ -56,7 +56,7 @@
// transaction does not return any result, cause it's not synchronous and we don't know,
// when it will be processed
contract.multiply(param).transact();
contract.transact().multiply(param);
document.getElementById('result').innerText = 'transaction made';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment