Browse Source

No point discarding a share even if opt_fail is enabled.

Con Kolivas 14 years ago
parent
commit
d40979d173
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -1717,7 +1717,7 @@ static bool stale_work(struct work *work, bool share)
 	if (work->work_block != work_block)
 		return true;
 
-	if (opt_fail_only && work->pool != current_pool())
+	if (opt_fail_only && !share && work->pool != current_pool())
 		return true;
 
 	return false;