Skip to content

Commit

Permalink
Update byte unit abbreviations in getReadableHashRateString function
Browse files Browse the repository at this point in the history
  • Loading branch information
Aoi Emerauda authored and Aoi Emerauda committed Nov 6, 2024
1 parent a8fe80c commit 23f2e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ exports.kotoAddressToScript = function (addr) {

exports.getReadableHashRateString = function (hashrate) {
var i = -1;
var byteUnits = [' KHash', ' MHash', ' GHash', ' THash', ' PHash', ' EHash', ' ZHash', ' YHash'];
var byteUnits = [' KH', ' MH', ' GH', ' TH', ' PH', ' EH', ' ZH', ' YH'];
do {
hashrate = hashrate / 1024;
i++;
Expand Down

0 comments on commit 23f2e12

Please sign in to comment.