add import logs
This commit is contained in:
parent
20491e9902
commit
fa04610a10
1 changed files with 2 additions and 0 deletions
|
|
@ -78,10 +78,12 @@ angular.module('copayApp.services')
|
|||
|
||||
root.setBaseURL(credentials.walletId);
|
||||
|
||||
$log.debug('Importing wallet:' + credentials.walletId);
|
||||
var client = bwcService.getClient(JSON.stringify(credentials));
|
||||
root.walletClients[credentials.walletId] = client;
|
||||
|
||||
if (client.incorrectDerivation) {
|
||||
$log.warn('Key Derivation failed for wallet:' + credentials.walletId);
|
||||
storageService.clearLastAddress(credentials.walletId, function() {});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue