From 3e6408e58c1cf18a5f2ae05e1981d54886efcd26 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Fri, 31 Oct 2014 10:22:09 -0300 Subject: [PATCH 1/2] removed console.log --- js/models/Wallet.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/models/Wallet.js b/js/models/Wallet.js index 3e33f4ec4..8c63878f6 100644 --- a/js/models/Wallet.js +++ b/js/models/Wallet.js @@ -2853,7 +2853,6 @@ Wallet.prototype.getTransactionHistory = function(cb) { var history = _.map(txs, function(tx) { decorateTx(tx); - console.log(tx); return tx; }); return cb(null, history); From aa49ba94684c67218000ce8bcbca088578484556 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Fri, 31 Oct 2014 11:14:09 -0300 Subject: [PATCH 2/2] updating only pending txs --- js/services/controllerUtils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index e80df51aa..23804b103 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -70,7 +70,8 @@ angular.module('copayApp.services') root.updateTxsAndBalance = _.debounce(function(w) { root.updateTxs({ - wallet: w + wallet: w, + pending: true, }); root.updateBalance(w, function() { $rootScope.$digest();