Skip to content

Commit

Permalink
Stratum disconnect shares - count total against stale
Browse files Browse the repository at this point in the history
  • Loading branch information
kanoi committed Feb 2, 2013
1 parent 05157e0 commit 7388942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cgminer.c
Original file line number Diff line number Diff line change
Expand Up @@ -4601,8 +4601,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;
}
}

Expand Down

0 comments on commit 7388942

Please sign in to comment.