pool: lint. minor.
This commit is contained in:
parent
d0628e990d
commit
bfca120f4f
@ -729,7 +729,14 @@ Pool.prototype.stopSync = function stopSync() {
|
||||
if (!peer.outbound)
|
||||
continue;
|
||||
|
||||
if (!peer.syncing)
|
||||
continue;
|
||||
|
||||
peer.syncing = false;
|
||||
peer.merkleBlock = null;
|
||||
peer.merkleTime = -1;
|
||||
peer.merkleMatches = 0;
|
||||
peer.blockTime = -1;
|
||||
peer.blockMap.reset();
|
||||
peer.compactBlocks.reset();
|
||||
}
|
||||
@ -839,8 +846,6 @@ Pool.prototype.sendSync = co(function* sendSync(peer) {
|
||||
*/
|
||||
|
||||
Pool.prototype.sendLocator = function sendLocator(locator, peer) {
|
||||
var locator;
|
||||
|
||||
if (!this.isSyncable(peer))
|
||||
return false;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user