aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-12-12 13:45:50 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-12-12 13:45:50 -0600
commitccde60838b1894e2f7fbdf96a01258202a8e30ae (patch)
treea18f54da3bc21d81aab09ec48de74c5463cfc29d /src/daemon
parentMerge pull request #6052 (diff)
parentdaemon: handle printing higher hash rates (diff)
downloadmonero-ccde60838b1894e2f7fbdf96a01258202a8e30ae.tar.xz
Merge pull request #6054
017f816 daemon: handle printing higher hash rates (moneromooo-monero)
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index eb9dfdf1e..ef9fed177 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -381,7 +381,7 @@ static void get_metric_prefix(cryptonote::difficulty_type hr, double& hr_d, char
prefix = 0;
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)
{
if (hr < 1000000)