added block check error
This commit is contained in:
parent
cce918ba95
commit
9b65467586
@ -375,6 +375,8 @@ Node.prototype.getStats = function()
|
|||||||
|
|
||||||
this.stats.mining = web3.eth.mining;
|
this.stats.mining = web3.eth.mining;
|
||||||
this.stats.gasPrice = web3.toBigNumber(web3.eth.gasPrice).toString(10);
|
this.stats.gasPrice = web3.toBigNumber(web3.eth.gasPrice).toString(10);
|
||||||
|
} else {
|
||||||
|
console.error("getStats: couldn't fetch block...");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user