not always a new addr

This commit is contained in:
Matias Alejo Garcia 2015-06-27 14:16:02 -03:00
commit 7efb48ff06

View file

@ -142,7 +142,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$timeout(function(){ $timeout(function(){
$scope.$apply(); $scope.$apply();
}); });
addressService.getAddress(walletId,true, function(err,addr) { addressService.getAddress(walletId, false, function(err,addr) {
$scope.gettingAddress=false; $scope.gettingAddress=false;
if (!err || addr) if (!err || addr)
$modalInstance.close(addr); $modalInstance.close(addr);