From 05c3535f5fde42d986924f2361e6fdd7d9a04253 Mon Sep 17 00:00:00 2001 From: cubedro <contact@siteshop.ro> Date: Fri, 12 Jun 2015 22:37:48 +0300 Subject: [PATCH] removed block from stats --- lib/node.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/node.js b/lib/node.js index 9ff8a77..1bd0d79 100644 --- a/lib/node.js +++ b/lib/node.js @@ -473,18 +473,6 @@ Node.prototype.getStats = function(forced) console.log(' ', 'forced:', chalk.reset.cyan(forced === true)); async.parallel({ - block: function (callback) - { - // TODO: Remove warkaround when web3.js is fixed - if( !self.chainFilter ) - { - console.warn("Getting", chalk.reset.red('latest block'), chalk.reset.bold.red('forced')); - - self.getLatestBlock(); - } - - callback(null, true); - }, peers: function (callback) { web3.net.getPeerCount(callback);