From fe52210c5e4bd30cec35189a545a1f1cd7bc7654 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 20 Jan 2017 13:44:20 -0800 Subject: [PATCH] pool: fix block logs. --- lib/net/pool.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index 09386371..7483e36a 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -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); }