Browse Source

bitfury: If multiple integers differ after 4 tries, just go with the first so we can start mining

Luke Dashjr 12 years ago
parent
commit
3831814acd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-bitfury.c

+ 2 - 0
driver-bitfury.c

@@ -143,6 +143,8 @@ tryagain:
 			differ = i;
 			applog(LOG_DEBUG, "%"PRIpreprv": %s: Differ at %d",
 			       proc->proc_repr, __func__, i);
+			if (tried > 3)
+				break;
 		}
 	}
 	if (-1 == differ)