Browse Source

Disable stratum detection with scrypt.

Con Kolivas 13 years ago
parent
commit
7c7e51166b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cgminer.c

+ 3 - 0
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;