Browse Source

Set nonce to maximum once we determine nonce range support is broken.

Con Kolivas 13 years ago
parent
commit
5a096c1c13
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-bitforce.c

+ 1 - 0
driver-bitforce.c

@@ -399,6 +399,7 @@ static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)
 			(work->blk.nonce > 0 && nonce < work->blk.nonce - bitforce->nonces - 1)))) {
 				applog(LOG_DEBUG, "BFL%i: Disabling broken nonce range support", bitforce->device_id);
 				bitforce->nonce_range = false;
+				work->blk.nonce = 0xffffffff;
 		}
 			
 		submit_nonce(thr, work, nonce);