pool: fix block logs.
This commit is contained in:
parent
4b937de8a6
commit
fe52210c5e
@ -1749,8 +1749,7 @@ Pool.prototype.logStatus = function logStatus(block) {
|
|||||||
this.logger.debug('Status:'
|
this.logger.debug('Status:'
|
||||||
+ ' ts=%s height=%d progress=%s'
|
+ ' ts=%s height=%d progress=%s'
|
||||||
+ ' blocks=%d orphans=%d active=%d'
|
+ ' blocks=%d orphans=%d active=%d'
|
||||||
+ ' target=%s peers=%d'
|
+ ' target=%s peers=%d jobs=%d',
|
||||||
+ ' pending=%d jobs=%d',
|
|
||||||
util.date(block.ts),
|
util.date(block.ts),
|
||||||
this.chain.height,
|
this.chain.height,
|
||||||
(this.chain.getProgress() * 100).toFixed(2) + '%',
|
(this.chain.getProgress() * 100).toFixed(2) + '%',
|
||||||
@ -1759,7 +1758,6 @@ Pool.prototype.logStatus = function logStatus(block) {
|
|||||||
this.requestMap.size,
|
this.requestMap.size,
|
||||||
block.bits,
|
block.bits,
|
||||||
this.peers.size(),
|
this.peers.size(),
|
||||||
this.locker.pending,
|
|
||||||
this.locker.jobs.length);
|
this.locker.jobs.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user