1
0
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:
Con Kolivas 2012-12-07 09:36:22 +11:00
parent d4f4c932bd
commit be013e9699

1
util.c
View File

@ -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);