fixed check for constant

pull/5370/head
LianaHus 5 years ago committed by Liana Husikyan
parent d657ae4e08
commit af8ccb83f9
  1. 2
      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}`)

Loading…
Cancel
Save