diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index 042cd9b8..e826cff1 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -717,10 +717,10 @@ Pool.prototype._handleBlocks = function _handleBlocks(hashes, peer, callback) { // Normally this is 500, but with older // versions locator.GetDistanceBack() is called. - // if (hashes.length > 500) { - // peer.setMisbehavior(100); - // return; - // } + if (hashes.length > 500) { + peer.setMisbehavior(100); + return; + } this.emit('blocks', hashes);