implements delete wallet, in backuptab

This commit is contained in:
Matias Alejo Garcia 2014-06-16 17:37:33 -03:00
commit 2c60fd91c0
7 changed files with 219 additions and 79 deletions

View file

@ -177,10 +177,10 @@ WalletFactory.prototype.getWallets = function() {
return ret;
};
WalletFactory.prototype.remove = function(walletId, cb) {
WalletFactory.prototype.delete = function(walletId, cb) {
var s = this.storage;
this.log('## DELETING WALLET ID:'+ walletId); //TODO
s.get(walletId, 'opts');
this.log('## DELETING WALLET ID:' + walletId); //TODO
s.deleteWallet(walletId);
return cb();
};