Fixes importing profile with a wallet that is not ready
This commit is contained in:
parent
b49d6b9c01
commit
b9fd442ffd
2 changed files with 4 additions and 3 deletions
|
|
@ -363,7 +363,7 @@ Identity.importFromFullJson = function(str, password, opts, cb) {
|
|||
json.wallets = json.wallets || {};
|
||||
|
||||
async.map(json.wallets, function(walletData, callback) {
|
||||
if (!walletData)
|
||||
if (!walletData)
|
||||
return callback();
|
||||
|
||||
iden.importWalletFromObj(walletData, opts, function(err, w) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue