fix skip Validation. Replaces scanning with updating
This commit is contained in:
parent
52a20334e1
commit
57aecf7e1b
2 changed files with 11 additions and 9 deletions
|
|
@ -286,7 +286,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
} else {
|
||||
self.isSingleAddress = !!ret.wallet.singleAddress;
|
||||
if (!opts.quiet)
|
||||
ongoingProcess.set('scanning', ret.wallet.scanStatus == 'running');
|
||||
self.updating = ret.wallet.scanStatus == 'running';
|
||||
}
|
||||
return cb(err, ret);
|
||||
});
|
||||
|
|
@ -1015,13 +1015,13 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
if (!c.isComplete()) return;
|
||||
|
||||
if (self.walletId == walletId)
|
||||
ongoingProcess.set('scanning', true);
|
||||
self.updating = true;
|
||||
|
||||
c.startScan({
|
||||
includeCopayerBranches: true,
|
||||
}, function(err) {
|
||||
if (err && self.walletId == walletId) {
|
||||
ongoingProcess.set('scanning', false);
|
||||
self.updating = false;
|
||||
self.handleError(err);
|
||||
$rootScope.$apply();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue