reenable hash limit.

This commit is contained in:
Christopher Jeffrey 2016-06-10 19:06:14 -07:00
parent f120d4d68a
commit d4571b56bd
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -717,10 +717,10 @@ Pool.prototype._handleBlocks = function _handleBlocks(hashes, peer, callback) {
// Normally this is 500, but with older // Normally this is 500, but with older
// versions locator.GetDistanceBack() is called. // versions locator.GetDistanceBack() is called.
// if (hashes.length > 500) { if (hashes.length > 500) {
// peer.setMisbehavior(100); peer.setMisbehavior(100);
// return; return;
// } }
this.emit('blocks', hashes); this.emit('blocks', hashes);