Commit 19267907c038a0d5e94be2b229d1e61b565e371d

ckolivas 2012-12-19T14:41:42

Reset lagging flag after it has been used in the getwork scheduler.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index 7e34eac..4cfcf6c 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6801,6 +6801,7 @@ begin_bench:
 			total_go++;
 		}
 		pool = select_pool(lagging);
+		lagging = false;
 retry:
 		if (pool->has_stratum) {
 			while (!pool->stratum_active) {