mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Last result returned by BF1 is an end of results marker so ignore it.
This commit is contained in:
parent
9040cac924
commit
8c0ab5f310
@ -199,8 +199,9 @@ static int64_t bitfury_scanhash(struct thr_info *thr, struct work *work,
|
|||||||
if (unlikely(!info->prevwork2))
|
if (unlikely(!info->prevwork2))
|
||||||
goto cascade;
|
goto cascade;
|
||||||
|
|
||||||
/* Search for what work the nonce matches in order of likelihood. */
|
/* Search for what work the nonce matches in order of likelihood. Last
|
||||||
for (i = 0; i < info->tot; i += 7) {
|
* entry is end of result marker. */
|
||||||
|
for (i = 0; i < info->tot - 7; i += 7) {
|
||||||
uint32_t nonce;
|
uint32_t nonce;
|
||||||
|
|
||||||
/* Ignore state & switched data in results for now. */
|
/* Ignore state & switched data in results for now. */
|
||||||
|
Loading…
Reference in New Issue
Block a user