Update balance of wallets

This commit is contained in:
Matias Pando 2014-11-04 17:18:15 -03:00
commit 212656130f

View file

@ -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();
});
}
});