Browse Source

Check for correct absence of opt_fail_only in cnx_needed.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
289d6807ef
  1. 4
      cgminer.c

4
cgminer.c

@ -4694,12 +4694,10 @@ static bool cnx_needed(struct pool *pool)
return true; return true;
if (pool_strategy == POOL_LOADBALANCE) if (pool_strategy == POOL_LOADBALANCE)
return true; return true;
if (opt_fail_only)
return true;
cp = current_pool(); cp = current_pool();
if (cp == pool) if (cp == pool)
return true; return true;
if (!cp->has_gbt && !cp->has_stratum) if (!cp->has_gbt && !cp->has_stratum && !opt_fail_only)
return true; return true;
return false; return false;
} }

Loading…
Cancel
Save