mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
improve formating of hash rate
This commit is contained in:
parent
7bb80afea8
commit
b408e4b924
1 changed files with 1 additions and 1 deletions
|
@ -886,7 +886,7 @@ public:
|
||||||
else if (current_network_info.hash_rate > 1e3)
|
else if (current_network_info.hash_rate > 1e3)
|
||||||
hash_rate = fmt::format("{:0.3f} kH/s", current_network_info.hash_rate/1.0e3);
|
hash_rate = fmt::format("{:0.3f} kH/s", current_network_info.hash_rate/1.0e3);
|
||||||
else
|
else
|
||||||
hash_rate = fmt::format("{:0.3f} H/s", current_network_info.hash_rate);
|
hash_rate = fmt::format("{:d} H/s", current_network_info.hash_rate);
|
||||||
|
|
||||||
pair<string, string> network_info_age = get_age(local_copy_server_timestamp,
|
pair<string, string> network_info_age = get_age(local_copy_server_timestamp,
|
||||||
current_network_info.info_timestamp);
|
current_network_info.info_timestamp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue