peer: lint.
This commit is contained in:
parent
01e7fd3902
commit
71c7c3e300
@ -2047,7 +2047,7 @@ Peer.prototype._handleHeaders = function _handleHeaders(packet) {
|
||||
|
||||
this.logger.debug(
|
||||
'Received headers packet with %d items (%s).',
|
||||
items.length, this.hostname);
|
||||
headers.length, this.hostname);
|
||||
|
||||
if (headers.length > 2000) {
|
||||
this.setMisbehavior(100);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user