fix tests and stringify for localstorage
This commit is contained in:
parent
f14d83cee1
commit
18aadede29
9 changed files with 75 additions and 76 deletions
|
|
@ -497,7 +497,12 @@ Wallet.prototype.getRegisteredPeerIds = function() {
|
|||
};
|
||||
|
||||
Wallet.prototype.keepAlive = function() {
|
||||
this.lock.keepAlive();
|
||||
try{
|
||||
this.lock.keepAlive();
|
||||
} catch(e){
|
||||
this.log(e);
|
||||
this.emit('locked',null,'Wallet appears to be openned on other browser instance. Closing this one.' );
|
||||
}
|
||||
};
|
||||
|
||||
Wallet.prototype.store = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue