refacor blockchain handlers

This commit is contained in:
Matias Alejo Garcia 2014-09-09 19:05:23 -03:00
commit dd8fcaa1b1
5 changed files with 17 additions and 23 deletions

View file

@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('AddressesController',
$scope.loading = true;
w.generateAddress(null, function() {
$timeout(function() {
controllerUtils.updateGlobalAddresses();
controllerUtils.updateAddressList();
$scope.loading = false;
}, 1);
});

View file

@ -17,7 +17,7 @@ angular.module('copayApp.controllers').controller('CopayersController',
}
$scope.goToWallet = function() {
controllerUtils.updateGlobalAddresses();
controllerUtils.updateAddressList();
$location.path('/receive');
};