fixes when deleting wallets
This commit is contained in:
parent
cac407c827
commit
394a5b474a
4 changed files with 29 additions and 11 deletions
|
|
@ -645,7 +645,7 @@ Identity.prototype.deleteWallet = function(walletId, cb) {
|
|||
|
||||
this.storage.removeItem(Wallet.getStorageKey(walletId), function(err) {
|
||||
if (err) return cb(err);
|
||||
self.emitAndKeepAlive('deletedWallet', walletId);
|
||||
self.emitAndKeepAlive('walletDeleted', walletId);
|
||||
self.store(null, cb);
|
||||
return cb();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue