diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-12-12 13:45:50 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-12 13:45:50 -0600 |
commit | ccde60838b1894e2f7fbdf96a01258202a8e30ae (patch) | |
tree | a18f54da3bc21d81aab09ec48de74c5463cfc29d /src | |
parent | Merge pull request #6052 (diff) | |
parent | daemon: handle printing higher hash rates (diff) | |
download | monero-ccde60838b1894e2f7fbdf96a01258202a8e30ae.tar.xz |
Merge pull request #6054
017f816 daemon: handle printing higher hash rates (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
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) |