mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-06 12:04:20 +00:00
Upper limit should be -hashes.
This commit is contained in:
parent
c29a4322dd
commit
00de822534
@ -996,7 +996,7 @@ static void *gpuminer_thread(void *userdata)
|
|||||||
timeval_subtract(&diff, &tv_end, &tv_workstart);
|
timeval_subtract(&diff, &tv_end, &tv_workstart);
|
||||||
|
|
||||||
if (diff.tv_sec > opt_scantime ||
|
if (diff.tv_sec > opt_scantime ||
|
||||||
work->blk.nonce > MAXTHREADS - hashes_done ||
|
work->blk.nonce > MAXTHREADS - hashes ||
|
||||||
work_restart[thr_id].restart)
|
work_restart[thr_id].restart)
|
||||||
need_work = true;
|
need_work = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user