fix delete wallet

This commit is contained in:
Ivan Socolsky 2014-10-15 15:54:17 -03:00 committed by Matias Alejo Garcia
commit e3107c85ac
3 changed files with 3 additions and 5 deletions

View file

@ -518,7 +518,6 @@ Identity.prototype.listWallets = function() {
*/
Identity.prototype.deleteWallet = function(walletId, cb) {
var self = this;
Identity._walletDelete(walletId, this.storage, function(err) {
if (err) return cb(err);
self.profile.deleteWallet(walletId, function(err) {