fix for missing increment of stratum stats blocks_found (#3593)
This commit is contained in:
@@ -437,6 +437,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!(
|
||||
|
||||
Reference in New Issue
Block a user