remove unused params

This commit is contained in:
Matias Alejo Garcia 2014-10-14 13:22:28 -03:00
commit 8b45d132a2
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};

View file

@ -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;
});