mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
No point discarding a share even if opt_fail is enabled.
This commit is contained in:
parent
435e5c85f6
commit
d40979d173
@ -1717,7 +1717,7 @@ static bool stale_work(struct work *work, bool share)
|
|||||||
if (work->work_block != work_block)
|
if (work->work_block != work_block)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (opt_fail_only && work->pool != current_pool())
|
if (opt_fail_only && !share && work->pool != current_pool())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user