Browse Source

Enable backup stratum connections for getwork when the primary pool doesn't have longpoll aka solo mining.

Con Kolivas 13 years ago
parent
commit
401357e657
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -4697,7 +4697,7 @@ static bool cnx_needed(struct pool *pool)
 	cp = current_pool();
 	if (cp == pool)
 		return true;
-	if (!cp->has_gbt && !cp->has_stratum && !opt_fail_only)
+	if (!cp->has_gbt && !cp->has_stratum && (!opt_fail_only || !cp->hdr_path))
 		return true;
 	return false;
 }