fix typos.
This commit is contained in:
parent
e8815f3e6b
commit
1115468f05
@ -467,7 +467,7 @@ Pool.prototype._handleHeaders = function _handleHeaders(headers, peer) {
|
|||||||
peer.host);
|
peer.host);
|
||||||
|
|
||||||
if (headers.length > 2000) {
|
if (headers.length > 2000) {
|
||||||
self.misbehaving(peer, 100);
|
this.misbehaving(peer, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -522,7 +522,7 @@ Pool.prototype._handleBlocks = function _handleBlocks(hashes, peer) {
|
|||||||
peer.host);
|
peer.host);
|
||||||
|
|
||||||
if (hashes.length > 500) {
|
if (hashes.length > 500) {
|
||||||
self.misbehaving(peer, 100);
|
this.misbehaving(peer, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user