diff --git a/src/universal-dapp-ui.js b/src/universal-dapp-ui.js index 6d71d05392..f9f50a062b 100644 --- a/src/universal-dapp-ui.js +++ b/src/universal-dapp-ui.js @@ -248,7 +248,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) { button.innerHTML = title function clickButton () { - self.udapp.call(true, args, inputField.value, (decoded) => { + self.udapp.call(true, args, inputField.value, lookupOnly, (decoded) => { outputOverride.innerHTML = '' outputOverride.appendChild(decoded) }) diff --git a/src/universal-dapp.js b/src/universal-dapp.js index ad9262bf4a..78d2706240 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -139,7 +139,7 @@ UniversalDAppModel.prototype.pendingTransactions = function () { return this.txRunner.pendingTxs } -UniversalDAppModel.prototype.call = function (isUserAction, args, value, outputCb) { +UniversalDAppModel.prototype.call = function (isUserAction, args, value, lookupOnly, outputCb) { const self = this var logMsg if (isUserAction) {