pool: fix map.clear call in stopSync. fixes #274.

This commit is contained in:
Christopher Jeffrey 2017-08-17 18:07:17 -07:00
parent b7789c763c
commit 8f9f5dfc06
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -730,7 +730,7 @@ Pool.prototype.stopSync = function stopSync() {
peer.merkleMatches = 0;
peer.merkleMap = null;
peer.blockTime = -1;
peer.blockMap.reset();
peer.blockMap.clear();
peer.compactBlocks.clear();
}