mirror of https://github.com/BTCPrivate/copay.git
fix address generation
This commit is contained in:
parent
af628dde9b
commit
4bfaf05930
|
@ -9,6 +9,9 @@ angular.module('copay.addresses').controller('AddressesController',
|
|||
$scope.newAddr = function() {
|
||||
$scope.loading = true;
|
||||
w.generateAddress();
|
||||
controllerUtils.updateBalance(function() {
|
||||
$scope.loading = false;
|
||||
});
|
||||
};
|
||||
|
||||
$scope.selectAddr = function(addr) {
|
||||
|
|
|
@ -79,7 +79,6 @@ angular.module('copay.controllerUtils')
|
|||
$rootScope.$digest();
|
||||
});
|
||||
w.on('refresh', function() {
|
||||
alert('refresh');
|
||||
root.updateBalance();
|
||||
$rootScope.$digest();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue