pool: minor.

This commit is contained in:
Christopher Jeffrey 2017-01-15 17:57:17 -08:00
parent 5ee83e9114
commit fe0ea9ac76
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
}