Disable stratum detection with scrypt.
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;