diff --git a/servers/src/mining/stratumserver.rs b/servers/src/mining/stratumserver.rs index c49838c5c5..9f64a96075 100644 --- a/servers/src/mining/stratumserver.rs +++ b/servers/src/mining/stratumserver.rs @@ -439,6 +439,7 @@ impl Handler { share_is_block = true; self.workers .update_stats(worker_id, |worker_stats| worker_stats.num_blocks_found += 1); + self.workers.stratum_stats.write().blocks_found += 1; // Log message to make it obvious we found a block let stats = self.workers.get_stats(worker_id)?; warn!(