Browse Source

Bugfix: Stop waiting for pool testing as soon as one is active

Luke Dashjr 12 years ago
parent
commit
5e28efeab3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -10200,6 +10200,8 @@ int main(int argc, char *argv[])
 		probe_pools();
 		do {
 			sleep(1);
+			if (pools_active)
+				break;
 			still_testing = false;
 			for (int i = 0; i < total_pools; ++i)
 				if (pools[i]->testing)