From 19573dc3276c4baa4cb403ccb3f503517dbd0d29 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Thu, 15 May 2014 02:12:14 -0300 Subject: [PATCH] Improve tx counter notification: not show if you sign, reject or if it is your tx proposal. --- js/services/controllerUtils.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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