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;
|
||||
}
|
||||
this.logger.debug('Peer sent an orphan block. Resolving.');
|
||||
yield peer.resolveOrphan(null, block.hash('hex'));
|
||||
yield peer.resolveOrphan(null, hash);
|
||||
this.scheduleRequests(peer);
|
||||
throw err;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user