diff --git a/src/app/ui/universal-dapp-ui.js b/src/app/ui/universal-dapp-ui.js index 18a0c4b5f3..fea54e09ca 100644 --- a/src/app/ui/universal-dapp-ui.js +++ b/src/app/ui/universal-dapp-ui.js @@ -254,7 +254,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) { // contractsDetails is used to resolve libraries txFormat.buildData(args.contractName, args.contractAbi, {}, false, args.funABI, args.funABI.type !== 'fallback' ? value : '', (error, data) => { if (!error) { - if (args.funABI.stateMutability !== 'constant' || args.funABI.constant) { + if (lookupOnly) { self.logCallback(`${logMsg} pending ... `) } else { self.logCallback(`${logMsg}`)