From 83a3edfdbbae5a7d0a288709b2a0142f09087311 Mon Sep 17 00:00:00 2001 From: cubedro Date: Mon, 6 Apr 2015 02:43:34 +0300 Subject: [PATCH] fixed gasPrice --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index 1ca91ec..e93a84e 100644 --- a/lib/node.js +++ b/lib/node.js @@ -346,7 +346,7 @@ Node.prototype.getStats = function() } this.stats.mining = web3.eth.mining; - this.stats.gasPrice = web3.eth.gasPrice.toString(10); + this.stats.gasPrice = web3.toBigNumber(web3.eth.gasPrice).toString(10); this.stats.listening = web3.net.listening; }