fix typos.

This commit is contained in:
Christopher Jeffrey 2016-01-29 15:56:22 -08:00
parent e8815f3e6b
commit 1115468f05

View File

@ -467,7 +467,7 @@ Pool.prototype._handleHeaders = function _handleHeaders(headers, peer) {
peer.host);
if (headers.length > 2000) {
self.misbehaving(peer, 100);
this.misbehaving(peer, 100);
return;
}
@ -522,7 +522,7 @@ Pool.prototype._handleBlocks = function _handleBlocks(hashes, peer) {
peer.host);
if (hashes.length > 500) {
self.misbehaving(peer, 100);
this.misbehaving(peer, 100);
return;
}