net: minor.

This commit is contained in:
Christopher Jeffrey 2016-12-13 20:21:04 -08:00
parent 2f543ea465
commit ca9fc63309
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -957,8 +957,7 @@ Pool.prototype._handleBlock = co(function* _handleBlock(block, peer) {
throw err;
}
if (err.score !== -1)
peer.reject(block, err.code, err.reason, err.score);
peer.reject(block, err.code, err.reason, err.score);
if (err.reason === 'bad-prevblk') {
if (this.options.headers) {