fix tests
This commit is contained in:
parent
3934b750f2
commit
fe177eaba2
3 changed files with 40 additions and 7 deletions
|
|
@ -261,10 +261,7 @@ Wallet.prototype.scheduleConnect = function() {
|
|||
var self = this;
|
||||
if (self.network.isOnline()) {
|
||||
self.connectToAll();
|
||||
setTimeout(function() {
|
||||
self.scheduleConnect();
|
||||
},
|
||||
self.reconnectDelay);
|
||||
setTimeout(self.scheduleConnect.bind(self), self.reconnectDelay);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue