mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-01-10 19:52:45 -03:00
Merge pull request #6054
017f816
daemon: handle printing higher hash rates (moneromooo-monero)
This commit is contained in:
commit
ccde60838b
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ static void get_metric_prefix(cryptonote::difficulty_type hr, double& hr_d, char
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
static const char metric_prefixes[4] = { 'k', 'M', 'G', 'T' };
|
static const char metric_prefixes[] = { 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y' };
|
||||||
for (size_t i = 0; i < sizeof(metric_prefixes); ++i)
|
for (size_t i = 0; i < sizeof(metric_prefixes); ++i)
|
||||||
{
|
{
|
||||||
if (hr < 1000000)
|
if (hr < 1000000)
|
||||||
|
|
Loading…
Reference in a new issue