Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
be013e9699
  1. 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…
Cancel
Save