Browse Source

Rolltime should be used as the cutoff time for primary work as well as the rolled work, if present.

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

2
cgminer.c

@ -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…
Cancel
Save