Browse Source

stratum auth can be unset if we fail to authorise on subsequent calls to auth_stratum which undoes the requirement of setting it in one place so set it in pool_active.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
07605fad60
  1. 1
      cgminer.c
  2. 2
      util.c

1
cgminer.c

@ -4265,6 +4265,7 @@ retry_stratum: @@ -4265,6 +4265,7 @@ retry_stratum:
return false;
if (!auth_stratum(pool))
return false;
pool->stratum_auth = true;
pool->idle = false;
init_stratum_thread(pool);
return true;

2
util.c

@ -1205,8 +1205,6 @@ out: @@ -1205,8 +1205,6 @@ out:
if (val)
json_decref(val);
pool->stratum_auth = ret;
return ret;
}

Loading…
Cancel
Save