Browse Source

Merge commit '7c7e511' into stratum

Luke Dashjr 13 years ago
parent
commit
a0a02b54f7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -675,6 +675,9 @@ static char *set_rr(enum pool_strategy *strategy)
  * stratum+tcp or by detecting a stratum server response */
  * stratum+tcp or by detecting a stratum server response */
 bool detect_stratum(struct pool *pool, char *url)
 bool detect_stratum(struct pool *pool, char *url)
 {
 {
+	if (opt_scrypt)
+		return false;
+
 	if (!extract_sockaddr(pool, url))
 	if (!extract_sockaddr(pool, url))
 		return false;
 		return false;