Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
401357e657
  1. 2
      cgminer.c

2
cgminer.c

@ -4697,7 +4697,7 @@ static bool cnx_needed(struct pool *pool) @@ -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;
}

Loading…
Cancel
Save