mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Set pool probed to true on successful authorisation with stratum to avoid it being pinged later with pool_getswork.
This commit is contained in:
parent
d4f4c932bd
commit
be013e9699
1
util.c
1
util.c
@ -1310,6 +1310,7 @@ bool auth_stratum(struct pool *pool)
|
|||||||
}
|
}
|
||||||
ret = true;
|
ret = true;
|
||||||
applog(LOG_INFO, "Stratum authorisation success for pool %d", pool->pool_no);
|
applog(LOG_INFO, "Stratum authorisation success for pool %d", pool->pool_no);
|
||||||
|
pool->probed = true;
|
||||||
out:
|
out:
|
||||||
if (val)
|
if (val)
|
||||||
json_decref(val);
|
json_decref(val);
|
||||||
|
Loading…
Reference in New Issue
Block a user