Update: Removes usage of cacheBalance and directly call getLastKnownBalance to avoid potential async issues

This commit is contained in:
Sam Cheng Hung 2018-04-11 12:04:02 +08:00
commit f2ad6abe75
4 changed files with 29 additions and 17 deletions

View file

@ -84,6 +84,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
$scope.$on("$ionicView.enter", function(event, data) {
$ionicNavBarDelegate.showBar(true);
updateAllWallets();
profileService.initBitcoinCoreDisplay();
addressbookService.list(function(err, ab) {
if (err) $log.error(err);