Reset sequential reject counter after a pool is disabled for when it is re-enabled.
diff --git a/cgminer.c b/cgminer.c
index 58731a9..d1713cc 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1724,6 +1724,7 @@ static bool submit_upstream_work(const struct work *work, CURL *curl)
pool->enabled = false;
if (pool == current_pool())
switch_pools(NULL);
+ pool->seq_rejects = 0;
}
}
}