mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Set nonce to maximum once we determine nonce range support is broken.
This commit is contained in:
parent
88dd599f34
commit
5a096c1c13
@ -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)))) {
|
(work->blk.nonce > 0 && nonce < work->blk.nonce - bitforce->nonces - 1)))) {
|
||||||
applog(LOG_DEBUG, "BFL%i: Disabling broken nonce range support", bitforce->device_id);
|
applog(LOG_DEBUG, "BFL%i: Disabling broken nonce range support", bitforce->device_id);
|
||||||
bitforce->nonce_range = false;
|
bitforce->nonce_range = false;
|
||||||
|
work->blk.nonce = 0xffffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
submit_nonce(thr, work, nonce);
|
submit_nonce(thr, work, nonce);
|
||||||
|
Loading…
Reference in New Issue
Block a user