Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
5a096c1c13
  1. 1
      driver-bitforce.c

1
driver-bitforce.c

@ -399,6 +399,7 @@ static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work) @@ -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);

Loading…
Cancel
Save