diff --git a/lib/node.js b/lib/node.js index 1662f73..071caeb 100644 --- a/lib/node.js +++ b/lib/node.js @@ -375,6 +375,8 @@ Node.prototype.getStats = function() this.stats.mining = web3.eth.mining; this.stats.gasPrice = web3.toBigNumber(web3.eth.gasPrice).toString(10); + } else { + console.error("getStats: couldn't fetch block..."); } }