natspec.js updated to use sync api

This commit is contained in:
Marek Kotewicz 2015-01-22 15:38:48 +01:00
parent 13f39afbdd
commit 29fa57e9b3

View File

@ -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';
}