1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

Stratum disconnect shares - count total against stale

This commit is contained in:
Kano 2013-01-26 21:57:09 +11:00 committed by Con Kolivas
parent ffdcaed49d
commit f52f02e9b7

View File

@ -4581,8 +4581,8 @@ static void clear_stratum_shares(struct pool *pool)
if (cleared) {
applog(LOG_WARNING, "Lost %d shares due to stratum disconnect on pool %d", cleared, pool->pool_no);
pool->stale_shares++;
total_stale++;
pool->stale_shares += cleared;
total_stale += cleared;
}
}