Update balance to every wallet
This commit is contained in:
parent
bef1113fc3
commit
be10694763
2 changed files with 5 additions and 4 deletions
|
|
@ -10,11 +10,12 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
_.each(wids, function(wid) {
|
||||
var w = $rootScope.iden.getWalletById(wid);
|
||||
if (w && w.isReady()) {
|
||||
|
||||
$scope.wallets.push(w);
|
||||
controllerUtils.clearBalanceCache(w);
|
||||
controllerUtils.updateBalance(w, function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
}, true);
|
||||
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue