Browse Source

Account for wait_ms time when nonce_range is in use on BFL.

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

+ 2 - 0
driver-bitforce.c

@@ -454,6 +454,8 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 		sleep_time = bitforce->sleep_ms;
 		if (!restart_wait(sleep_time))
 			return 1;
+
+		bitforce->wait_ms += sleep_time;
 	}
 
 	if (ret)