diff --git a/lib/pool.js b/lib/pool.js index d6ba734..7b2e8a3 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -356,7 +356,7 @@ var pool = module.exports = function pool(options, authorizeFn){ var percent = (currentBlocks / totalBlocks * 100).toFixed(2); //Only let the first fork show synced status or the log wil look flooded with it - if (process.env.forkId === '0') + if (!process.env.forkId || process.env.forkId === '0') emitWarningLog('Downloaded ' + percent + '% of blockchain from network'); }); };