Browse Source

No point discarding a share even if opt_fail is enabled.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
d40979d173
  1. 2
      cgminer.c

2
cgminer.c

@ -1717,7 +1717,7 @@ static bool stale_work(struct work *work, bool share) @@ -1717,7 +1717,7 @@ static bool stale_work(struct work *work, bool share)
if (work->work_block != work_block)
return true;
if (opt_fail_only && work->pool != current_pool())
if (opt_fail_only && !share && work->pool != current_pool())
return true;
return false;

Loading…
Cancel
Save