peer: lint.

This commit is contained in:
Christopher Jeffrey 2016-11-29 20:35:30 -08:00
parent 01e7fd3902
commit 71c7c3e300
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);