From 212656130f67ee8dcc19fa5e641990f57a96668a Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Tue, 4 Nov 2014 17:18:15 -0300 Subject: [PATCH] Update balance of wallets --- js/controllers/paymentIntent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/controllers/paymentIntent.js b/js/controllers/paymentIntent.js index 5ed73853a..e2ae6b294 100644 --- a/js/controllers/paymentIntent.js +++ b/js/controllers/paymentIntent.js @@ -11,6 +11,9 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun var w = $rootScope.iden.getWalletById(wid); if (w && w.isReady()) { $scope.wallets.push(w); + controllerUtils.updateBalance(w, function() { + $rootScope.$digest(); + }); } });