Skip to content

Commit

Permalink
Replaced leftover 'Sol' with 'H'
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodyNora authored Dec 9, 2019
1 parent 6ec5c16 commit a133dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
function getReadableNetworkHashRateString(hashrate){
hashrate = (hashrate * 1000000);
if (hashrate < 1000000)
return '0 Sol';
return '0 H/s';
var byteUnits = [ ' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s' ];
var i = Math.floor((Math.log(hashrate/1000) / Math.log(1000)) - 1);
hashrate = (hashrate/1000) / Math.pow(1000, i + 1);
Expand Down

0 comments on commit a133dd0

Please sign in to comment.