mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #645
d9f4b39
daemon: remove leftover debug log (moneromooo-monero)
This commit is contained in:
commit
a1a5b810bc
@ -251,7 +251,6 @@ bool t_rpc_command_executor::show_difficulty() {
|
|||||||
|
|
||||||
static std::string get_mining_speed(uint64_t hr)
|
static std::string get_mining_speed(uint64_t hr)
|
||||||
{
|
{
|
||||||
std::cerr << "get_mining_speed called with " << hr << std::endl;
|
|
||||||
if (hr>1e9) return (boost::format("%.2f GH/s") % (hr/1e9)).str();
|
if (hr>1e9) return (boost::format("%.2f GH/s") % (hr/1e9)).str();
|
||||||
if (hr>1e6) return (boost::format("%.2f MH/s") % (hr/1e6)).str();
|
if (hr>1e6) return (boost::format("%.2f MH/s") % (hr/1e6)).str();
|
||||||
if (hr>1e3) return (boost::format("%.2f kH/s") % (hr/1e3)).str();
|
if (hr>1e3) return (boost::format("%.2f kH/s") % (hr/1e3)).str();
|
||||||
|
Loading…
Reference in New Issue
Block a user