pool: minor.
This commit is contained in:
parent
5ee83e9114
commit
fe0ea9ac76
@ -897,7 +897,7 @@ Pool.prototype.handleBlock = co(function* handleBlock(peer, block) {
|
|||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
this.logger.debug('Peer sent an orphan block. Resolving.');
|
this.logger.debug('Peer sent an orphan block. Resolving.');
|
||||||
yield peer.resolveOrphan(null, block.hash('hex'));
|
yield peer.resolveOrphan(null, hash);
|
||||||
this.scheduleRequests(peer);
|
this.scheduleRequests(peer);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user