Commit 7c7e51166b54dd47b090e82512f1a6086f4a6939

Con Kolivas 2012-10-12T14:53:16

Disable stratum detection with scrypt.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index 666cbe9..8606c8f 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -565,6 +565,9 @@ static char *set_rr(enum pool_strategy *strategy)
  * stratum+tcp or by detecting a stratum server response */
 bool detect_stratum(struct pool *pool, char *url)
 {
+	if (opt_scrypt)
+		return false;
+
 	if (!extract_sockaddr(pool, url))
 		return false;