Browse Source

Switch queued count when choosing a different pool from a failed stratum pool in getwork thread.

Con Kolivas 13 years ago
parent
commit
9ccc418a6c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cgminer.c

+ 2 - 0
cgminer.c

@@ -2684,6 +2684,8 @@ retry:
 			sleep(5);
 			if (altpool != pool) {
 				wc->pool = altpool;
+				inc_queued(altpool);
+				dec_queued(pool);
 				goto retry;
 			}
 		}