net: minor.
This commit is contained in:
parent
2f543ea465
commit
ca9fc63309
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user