better sync for incomplete wallets after close/open
This commit is contained in:
parent
bc706d6373
commit
614ed087c7
3 changed files with 35 additions and 15 deletions
|
|
@ -150,13 +150,12 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
$scope.error = null;
|
||||
if (err) {
|
||||
var msg = err.toString();
|
||||
$scope.createStep = 'email';
|
||||
if (msg.indexOf('EEXIST') >= 0 || msg.indexOf('BADC') >= 0) {
|
||||
msg = 'This profile already exists'
|
||||
$scope.createStep = 'email';
|
||||
}
|
||||
if (msg.indexOf('EMAILERROR') >= 0) {
|
||||
msg = 'Could not send verification email. Please check your email address.';
|
||||
$scope.createStep = 'email';
|
||||
}
|
||||
$scope.error = msg;
|
||||
$scope.passwordStrength = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue