if specific recovery phrase then don't generate address
This commit is contained in:
parent
1be4c7d235
commit
b2601578f1
1 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
$timeout(function() {
|
||||
profileService.createWallet(opts, function(err, client) {
|
||||
ongoingProcess.set('creatingWallet', false);
|
||||
function finish(error) {
|
||||
function finish(error) {
|
||||
if (error) {
|
||||
$log.warn(error);
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), error);
|
||||
|
|
@ -273,7 +273,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
}
|
||||
}
|
||||
|
||||
if (opts.n >= 2) {
|
||||
if (opts.n >= 2 || $scope.formData.seedSource.id == 'set') {
|
||||
finish(err);
|
||||
} else {
|
||||
ongoingProcess.set('generatingNewAddress', true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue