fix sync.
This commit is contained in:
parent
3289a9388d
commit
4cd018c31a
@ -1793,6 +1793,9 @@ Peer.prototype.sync = function sync(callback) {
|
||||
if (!this.pool.syncing)
|
||||
return;
|
||||
|
||||
if (!this.ack)
|
||||
return;
|
||||
|
||||
if (this.syncSent)
|
||||
return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user