available address

This commit is contained in:
Matias Alejo Garcia 2014-04-21 13:16:15 -03:00
commit 2fbd075206
4 changed files with 21 additions and 32 deletions

View file

@ -27,11 +27,7 @@ angular.module('copay.header').controller('HeaderController',
$rootScope.$watch('wallet', function(wallet) {
if (wallet) {
controllerUtils.setSocketHandlers();
$rootScope.wallet.getBalance(function(balance) {
$rootScope.$apply(function() {
$rootScope.totalBalance = balance;
});
});
controllerUtils.updateBalance();
}
});