commit
8c06af76af
@ -318,7 +318,7 @@ Node.prototype.getStats = function()
|
|||||||
if(this.stats.mining)
|
if(this.stats.mining)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
this.stats.hashrate = web3.eth.hashRate;
|
this.stats.hashrate = web3.eth.hashrate;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"primus-spark-latency": "0.1.1",
|
"primus-spark-latency": "0.1.1",
|
||||||
"shelljs": "0.4.0",
|
"shelljs": "0.4.0",
|
||||||
"sleep": "2.0.0",
|
"sleep": "2.0.0",
|
||||||
"web3": "0.3.3",
|
"web3": "0.3.4",
|
||||||
"ws": "0.7.1"
|
"ws": "0.7.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user