Merge pull request #174 from cubedro/develop

Removed block from stats
This commit is contained in:
Marian OANCΞA 2015-06-12 22:38:12 +03:00
commit 9e28b318e4
1 changed files with 0 additions and 12 deletions

View File

@ -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);