Browse Source

Merge branch 'gbt' into bfgminer-2.8.x

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

+ 1 - 1
miner.c

@@ -3176,7 +3176,7 @@ static bool stale_work(struct work *work, bool share)
 	/* Technically the rolltime should be correct but some pools
 	 * advertise a broken expire= that is lower than a meaningful
 	 * scantime */
-	if (work->rolltime > opt_scantime)
+	if (work->rolltime > opt_scantime || work->tmpl)
 		work_expiry = work->rolltime;
 	else
 		work_expiry = opt_expiry;