From 52769263e9e71151cabdb3ef7939202ddd35703f Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 6 Feb 2018 11:53:35 -0500 Subject: [PATCH] fix reference to contracts --- src/universal-dapp-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/universal-dapp-ui.js b/src/universal-dapp-ui.js index cafb2a1cea..c65b0ee1a0 100644 --- a/src/universal-dapp-ui.js +++ b/src/universal-dapp-ui.js @@ -263,7 +263,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) { logMsg = `call to ${args.contractName}.${(args.funABI.name) ? args.funABI.name : '(fallback)'}` } } - txFormat.buildData(args.contractName, args.contractAbi, self.contracts, false, args.funABI, inputField.value, self, (error, data) => { + txFormat.buildData(args.contractName, args.contractAbi, self.udapp.contracts, false, args.funABI, inputField.value, self, (error, data) => { if (!error) { if (isUserAction) { if (!args.funABI.constant) {