remove unused params
This commit is contained in:
parent
279ab41b6c
commit
8b45d132a2
2 changed files with 2 additions and 2 deletions
|
|
@ -495,7 +495,7 @@ Identity.prototype.getOpenWallet = function(id) {
|
|||
};
|
||||
|
||||
|
||||
Identity.prototype.listWallets = function(a) {
|
||||
Identity.prototype.listWallets = function() {
|
||||
var ret = this.profile.listWallets();
|
||||
return ret;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Profile.prototype.getWallet = function(walletId, cb) {
|
|||
return this.walletInfos[walletId];
|
||||
};
|
||||
|
||||
Profile.prototype.listWallets = function(opts, cb) {
|
||||
Profile.prototype.listWallets = function() {
|
||||
return _.sortBy(this.walletInfos, function(winfo) {
|
||||
return -winfo.lastOpenedTs || -winfo.createdTs;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue