From 4ee8890166dfb85d38019de83c67f544ba8d72b2 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 19 Jan 2023 00:04:35 +0100 Subject: [PATCH] Fixed `status` command output --- src/stratum_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratum_server.cpp b/src/stratum_server.cpp index 755d10e..2f82bcb 100644 --- a/src/stratum_server.cpp +++ b/src/stratum_server.cpp @@ -585,7 +585,7 @@ void StratumServer::print_stratum_status() const "\nHashrate (1h est) = " << log::Hashrate(hashrate_1h) << "\nHashrate (24h est) = " << log::Hashrate(hashrate_24h) << "\nTotal hashes = " << total_hashes << - "\nShares found = " << shares_found << shares_failed_buf << + "\nShares found = " << shares_found << static_cast(shares_failed_buf) << "\nAverage effort = " << average_effort << '%' << "\nCurrent effort = " << static_cast(hashes_since_last_share) * 100.0 / m_pool->side_chain().difficulty().to_double() << '%' << "\nConnections = " << m_numConnections.load() << " (" << m_numIncomingConnections.load() << " incoming)"