diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index 0b0f7361f..9a76287ca 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -128,6 +128,8 @@ angular.module('copay.controllerUtils') var w = $rootScope.wallet; if (!w) return; + var myCopayerId = w.getMyCopayerId(); + var pending = 0; var inT = w.getTxProposals(); var txs = []; @@ -149,13 +151,16 @@ angular.module('copay.controllerUtils') i.fee = i.builder.feeSat/bitcore.util.COIN; i.missingSignatures = tx.countInputMissingSignatures(0); txs.push(i); - }); - $rootScope.txs = txs; - var pending = 0; - for(var i=0; i