reenable hash limit.
This commit is contained in:
parent
f120d4d68a
commit
d4571b56bd
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user