Browse Source

Upper limit should be -hashes.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
00de822534
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -996,7 +996,7 @@ static void *gpuminer_thread(void *userdata) @@ -996,7 +996,7 @@ static void *gpuminer_thread(void *userdata)
timeval_subtract(&diff, &tv_end, &tv_workstart);
if (diff.tv_sec > opt_scantime ||
work->blk.nonce > MAXTHREADS - hashes_done ||
work->blk.nonce > MAXTHREADS - hashes ||
work_restart[thr_id].restart)
need_work = true;
}

Loading…
Cancel
Save