implements delete wallet, in backuptab
This commit is contained in:
parent
46feadf57c
commit
2c60fd91c0
7 changed files with 219 additions and 79 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue