Commit be013e9699651a2a4c4f6524e248cbfc9e6479b1

Con Kolivas 2012-12-07T09:36:22

Set pool probed to true on successful authorisation with stratum to avoid it being pinged later with pool_getswork.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util.c b/util.c
index 770f1ba..6a6ef7b 100644
--- a/util.c
+++ b/util.c
@@ -1310,6 +1310,7 @@ bool auth_stratum(struct pool *pool)
 	}
 	ret = true;
 	applog(LOG_INFO, "Stratum authorisation success for pool %d", pool->pool_no);
+	pool->probed = true;
 out:
 	if (val)
 		json_decref(val);