Browse Source

Bugfix: Always fail scrypt detection if Stratum is chosen

Luke Dashjr 13 years ago
parent
commit
b9a724c209
1 changed files with 1 additions and 2 deletions
  1. 1 2
      miner.c

+ 1 - 2
miner.c

@@ -5251,8 +5251,6 @@ static bool stratum_works(struct pool *pool)
 	if (!initiate_stratum(pool))
 		return false;
 
-	detect_algo = 2;
-
 	return true;
 }
 
@@ -5343,6 +5341,7 @@ retry_stratum:
 		pool->idle = false;
 		pool->stratum_auth = true;
 		init_stratum_thread(pool);
+		detect_algo = 2;
 		return true;
 	}
 	else if (pool->has_stratum)