mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
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.
This commit is contained in:
parent
80d4355737
commit
07605fad60
@ -4265,6 +4265,7 @@ retry_stratum:
|
|||||||
return false;
|
return false;
|
||||||
if (!auth_stratum(pool))
|
if (!auth_stratum(pool))
|
||||||
return false;
|
return false;
|
||||||
|
pool->stratum_auth = true;
|
||||||
pool->idle = false;
|
pool->idle = false;
|
||||||
init_stratum_thread(pool);
|
init_stratum_thread(pool);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user