diff --git a/lib/node.js b/lib/node.js index 1aefcff..7d5da67 100644 --- a/lib/node.js +++ b/lib/node.js @@ -318,7 +318,7 @@ Node.prototype.getStats = function() if(this.stats.mining) { try { - this.stats.hashrate = web3.eth.hashRate; + this.stats.hashrate = web3.eth.hashrate; } catch (err) { diff --git a/package.json b/package.json index 969b63f..a07b719 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "primus-spark-latency": "0.1.1", "shelljs": "0.4.0", "sleep": "2.0.0", - "web3": "0.3.3", + "web3": "0.3.4", "ws": "0.7.1" }, "scripts": {