mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Regenerate the hash before checking the share diff in hashtest().
This commit is contained in:
parent
03f98e2617
commit
9a76db8db9
@ -5489,6 +5489,7 @@ static int hashtest(struct thr_info *thr, struct work *work)
|
|||||||
applog(LOG_INFO, "Share below target");
|
applog(LOG_INFO, "Share below target");
|
||||||
/* Check the diff of the share, even if it didn't reach the
|
/* Check the diff of the share, even if it didn't reach the
|
||||||
* target, just to set the best share value if it's higher. */
|
* target, just to set the best share value if it's higher. */
|
||||||
|
regen_hash(work);
|
||||||
share_diff(work);
|
share_diff(work);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user