Commit 4d090a587cd3df350d05c333ec72178518f7679d

ckolivas 2012-05-04T12:51:32

Reset sequential reject counter after a pool is disabled for when it is re-enabled.

1
2
3
4
5
6
7
8
9
10
11
12
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;
 			}
 		}
 	}