Commit e649aa39061abbc9bfd8c9172333b7ccacfad292

Kano 2012-09-12T20:10:00

HW: dont submit bad shares

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index b019798..f42e0e0 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4185,7 +4185,7 @@ static bool hashtest(struct thr_info *thr, const struct work *work)
 				thr->cgpu->api->name, thr->cgpu->device_id);
 		hw_errors++;
 		thr->cgpu->hw_errors++;
-		return true;
+		return false;
 	}
 
 	bool test = fulltest(work->hash, work->target);