1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Only consider work stale for stratum of different job_id if it's not a share.

This commit is contained in:
Con Kolivas 2012-12-08 22:08:23 +11:00
parent c63916da1c
commit 30f6840b5c

View File

@ -3185,7 +3185,7 @@ static bool stale_work(struct work *work, bool share)
pool = work->pool;
if (pool->has_stratum) {
if (!share && pool->has_stratum) {
bool same_job = true;
mutex_lock(&pool->pool_lock);