daemon: remove leftover debug log

This commit is contained in:
moneromooo-monero 2016-02-05 16:36:28 +00:00
parent 5feebb4d87
commit d9f4b395e8
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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();