mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
Fix blockfound diff
This commit is contained in:
parent
12fbc94288
commit
3a66fcf80a
@ -7183,7 +7183,6 @@ bool test_nonce(struct work *work, uint32_t nonce)
|
|||||||
static void update_work_stats(struct thr_info *thr, struct work *work)
|
static void update_work_stats(struct thr_info *thr, struct work *work)
|
||||||
{
|
{
|
||||||
double test_diff = current_diff;
|
double test_diff = current_diff;
|
||||||
test_diff *= work->pool->algorithm.share_diff_multiplier;
|
|
||||||
|
|
||||||
work->share_diff = share_diff(work);
|
work->share_diff = share_diff(work);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user