split ts, better syncing
This commit is contained in:
parent
b9540d5a09
commit
b49661ebd8
4 changed files with 50 additions and 24 deletions
|
|
@ -566,7 +566,7 @@ Identity.prototype.decodeSecret = function(secret) {
|
|||
Identity.prototype.getLastFocusedWallet = function() {
|
||||
if (_.keys(this.wallets).length == 0) return;
|
||||
return _.max(this.wallets, function(wallet) {
|
||||
return wallet.lastTimestamp || 0;
|
||||
return wallet.focusedTimestamp || 0;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue