Browse Source

Logic fail on queue request.

Con Kolivas 14 years ago
parent
commit
6e3ad7ad25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -2913,7 +2913,7 @@ static bool queue_request(struct thr_info *thr, bool needed)
 	gettimeofday(&now, NULL);
 
 	if (rq >= mining_threads + staged_clones &&
-	    (now.tv_sec - requested_tv_sec) > opt_scantime * 2 / 3)
+	    (now.tv_sec - requested_tv_sec) < opt_scantime * 2 / 3)
 		return true;
 
 	/* fill out work request message */