mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-08 21:14:14 +00:00
Rolltime should be used as the cutoff time for primary work as well as the rolled work, if present.
This commit is contained in:
parent
c20a89d998
commit
a8ae1a43ea
@ -2167,7 +2167,7 @@ static bool stale_work(struct work *work, bool share)
|
|||||||
|
|
||||||
if (share)
|
if (share)
|
||||||
work_expiry = opt_expiry;
|
work_expiry = opt_expiry;
|
||||||
else if (work->rolls)
|
else if (work->rolltime)
|
||||||
work_expiry = work->rolltime;
|
work_expiry = work->rolltime;
|
||||||
else
|
else
|
||||||
work_expiry = opt_scantime;
|
work_expiry = opt_scantime;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user