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:'
|
||||
+ ' 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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user