From 8f1f81749d164683e63063679596012bf816ff3c Mon Sep 17 00:00:00 2001 From: SChernykh Date: Mon, 16 May 2022 14:36:11 +0200 Subject: [PATCH] StratumServer: reset cumulative hashes too --- src/stratum_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stratum_server.cpp b/src/stratum_server.cpp index bd89a8f..bdedcdc 100644 --- a/src/stratum_server.cpp +++ b/src/stratum_server.cpp @@ -499,6 +499,7 @@ void StratumServer::show_workers() void StratumServer::reset_share_counters() { + m_cumulativeHashes = 0; m_cumulativeHashesAtLastShare = 0; m_cumulativeFoundSharesDiff = 0.0; m_totalFoundShares = 0;