Browse Source

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

Con Kolivas 13 years ago
parent
commit
be013e9699
1 changed files with 1 additions and 0 deletions
  1. 1 0
      util.c

+ 1 - 0
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);