From 137c87e4a357b64c6e9abdb2e157939ed5bb23ef Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 29 Apr 2015 15:34:13 +0300 Subject: [PATCH 1/2] bumped web3 version - eth_hashrate --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From 343bbbe91e77b5ec4c149022d12b757ae9d744b4 Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 29 Apr 2015 16:32:56 +0300 Subject: [PATCH 2/2] fixed eth.hashrate typo --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {