Commit 40a3331e72204703d3a28558311c62a35934bc71

Con Kolivas 2012-11-18T22:27:03

Remove unintentional block of code in reuse_work.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index 76f2fae..4f2af17 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5016,9 +5016,6 @@ static struct work *hash_pop(const struct timespec *abstime)
 
 static bool reuse_work(struct work *work, struct pool *pool)
 {
-	if (work->mined && (pool_strategy == POOL_BALANCE || pool_strategy == POOL_LOADBALANCE))
-		return false;
-
 	if (pool->has_stratum) {
 		if (!pool->stratum_active)
 			return false;