Browse Source

Merge commit '919a836' into cg_merges_20130822a

Conflicts:
	miner.c
Luke Dashjr 12 years ago
parent
commit
e081c2a1f0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      miner.c

+ 4 - 0
miner.c

@@ -7215,6 +7215,10 @@ static bool cnx_needed(struct pool *pool)
 
 	if (pool_unworkable(cp))
 		return true;
+	
+	/* We've run out of work, bring anything back to life. */
+	if (no_work)
+		return true;
 
 	return false;
 }