pool: fix block logs.

This commit is contained in:
Christopher Jeffrey 2017-01-20 13:44:20 -08:00
parent 4b937de8a6
commit fe52210c5e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1749,8 +1749,7 @@ Pool.prototype.logStatus = function logStatus(block) {
this.logger.debug('Status:'
+ ' ts=%s height=%d progress=%s'
+ ' blocks=%d orphans=%d active=%d'
+ ' target=%s peers=%d'
+ ' pending=%d jobs=%d',
+ ' target=%s peers=%d jobs=%d',
util.date(block.ts),
this.chain.height,
(this.chain.getProgress() * 100).toFixed(2) + '%',
@ -1759,7 +1758,6 @@ Pool.prototype.logStatus = function logStatus(block) {
this.requestMap.size,
block.bits,
this.peers.size(),
this.locker.pending,
this.locker.jobs.length);
}