Browse Source

Merge branch 'stratum' into bfgminer

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

+ 1 - 2
miner.c

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