commit
9e28b318e4
12
lib/node.js
12
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);
|
||||
|
Loading…
Reference in New Issue
Block a user