fixed network hashrate
This commit is contained in:
parent
2b956f2d61
commit
71128cde10
@ -336,7 +336,7 @@ History.prototype.getAvgHashrate = function()
|
||||
|
||||
var avgBlocktime = (_.sum(blocktimeHistory) / blocktimeHistory.length)/1000;
|
||||
|
||||
return avgDifficulty * 12 * ( 12 / avgBlocktime );
|
||||
return this.bestBlock().block.difficulty / 12 * ( 12 / avgBlocktime );
|
||||
}
|
||||
|
||||
History.prototype.getMinersCount = function()
|
||||
|
Loading…
Reference in New Issue
Block a user