refreshing wallet clears balance cache
This commit is contained in:
parent
046546e8d3
commit
2beda0c354
2 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
if (w.isReady()) {
|
||||
w.sendWalletReady();
|
||||
if ($rootScope.addrInfos.length > 0) {
|
||||
controllerUtils.clearBalanceCache(w);
|
||||
controllerUtils.updateBalance(w, function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue