enhacements on notifications and balance updates
This commit is contained in:
parent
a3d0b9e48b
commit
95e8a22c54
7 changed files with 73 additions and 74 deletions
|
|
@ -200,9 +200,10 @@ Identity.open = function(email, password, opts, cb) {
|
|||
var firstWallet;
|
||||
_.each(wids, function(wid) {
|
||||
iden.openWallet(wid, function(err, w) {
|
||||
if (err)
|
||||
if (err) {
|
||||
log.error('Cound not open wallet id:' + wid + '. Skipping')
|
||||
else {
|
||||
iden.profile.deleteWallet(wid, function() {});
|
||||
} else {
|
||||
log.info('Open wallet id:' + wid + ' opened');
|
||||
if (!firstWallet)
|
||||
firstWallet = w;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue