refacor blockchain handlers
This commit is contained in:
parent
1c5b59a263
commit
dd8fcaa1b1
5 changed files with 17 additions and 23 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ angular.module('copayApp.controllers').controller('CopayersController',
|
|||
}
|
||||
|
||||
$scope.goToWallet = function() {
|
||||
controllerUtils.updateGlobalAddresses();
|
||||
controllerUtils.updateAddressList();
|
||||
$location.path('/receive');
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue