Browse Source

Bugfix: Actually change to the newly selected pool when statum is inactive and it decides to change

Luke Dashjr 13 years ago
parent
commit
ab856eb061
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
cgminer.c

@@ -6794,6 +6794,7 @@ retry:
 
 				if (altpool == pool && pool->has_stratum)
 					sleep(5);
+				pool = altpool;
 				goto retry;
 			}
 			gen_stratum_work(pool, work);