Browse Source

Revert "Merge commit '79dd9df' into cg_merges_20130524b"

This reverts commit 02ac49ccf4de7dd81bca6abc5aeedfe8d783040d, reversing
changes made to dd4904c75f4d2e890c0c10611a00ce130778fa6d.

Makes everything constantly stale
Luke Dashjr 12 years ago
parent
commit
479ae13b69
1 changed files with 1 additions and 5 deletions
  1. 1 5
      miner.c

+ 1 - 5
miner.c

@@ -130,7 +130,7 @@ static int opt_retries = -1;
 int opt_fail_pause = 5;
 int opt_log_interval = 5;
 int opt_queue = 1;
-int opt_scantime = -1;
+int opt_scantime = 60;
 int opt_expiry = 120;
 int opt_expiry_lp = 3600;
 int opt_bench_algo = -1;
@@ -8821,10 +8821,6 @@ int main(int argc, char *argv[])
 		applog(LOG_NOTICE, "Detected scrypt algorithm");
 		opt_scrypt = true;
 	}
-
-	/* Use a shorter scantime for scrypt */
-	if (opt_scantime < 0)
-		opt_scantime = opt_scrypt ? 30 : 60;
 #endif
 	detect_algo = 0;