From 4bf091b0522a60469f7de160e3d3817b76fe5b2a Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 5 Dec 2014 15:20:11 -0300 Subject: [PATCH] Update the balance if I sign/reject a transaction proposal --- js/services/identityService.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/services/identityService.js b/js/services/identityService.js index eda5435f0..2e00efbc1 100644 --- a/js/services/identityService.js +++ b/js/services/identityService.js @@ -233,9 +233,13 @@ angular.module('copayApp.services') w.on('txProposalEvent', function(e) { if (root.isFocused(wid)) { - pendingTxsService.update(); + pendingTxsService.update(); } + balanceService.update(w, function() { + $rootScope.$digest(); + }, root.isFocused(wid)); + // TODO: add wallet name notification var user = w.publicKeyRing.nicknameForCopayer(e.cId); var name = w.getName();