fix sync.

This commit is contained in:
Christopher Jeffrey 2016-06-08 15:36:07 -07:00
parent 3289a9388d
commit 4cd018c31a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1793,6 +1793,9 @@ Peer.prototype.sync = function sync(callback) {
if (!this.pool.syncing)
return;
if (!this.ack)
return;
if (this.syncSent)
return;