Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
30f6840b5c
  1. 2
      cgminer.c

2
cgminer.c

@ -3185,7 +3185,7 @@ static bool stale_work(struct work *work, bool share) @@ -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);

Loading…
Cancel
Save