mirror of https://github.com/BTCPrivate/copay.git
prevent syncing the same message twice
This commit is contained in:
parent
6aa959dcf5
commit
00e1668f86
|
@ -299,7 +299,7 @@ Network.prototype.start = function(opts, openCallback) {
|
||||||
if (tries++ > 5) {
|
if (tries++ > 5) {
|
||||||
self.emit('serverError');
|
self.emit('serverError');
|
||||||
} else {
|
} else {
|
||||||
self.socket.emit('sync', opts.lastTimestamp);
|
self.socket.emit('sync', opts.lastTimestamp + 1);
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue