mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Fixed found blocks calculation.
This commit is contained in:
parent
b08782f0bf
commit
1bd9636602
@ -6229,8 +6229,6 @@ static void update_work_stats(struct thr_info *thr, struct work *work)
|
|||||||
|
|
||||||
work->share_diff = share_diff(work);
|
work->share_diff = share_diff(work);
|
||||||
|
|
||||||
test_diff *= 65536;
|
|
||||||
|
|
||||||
if (unlikely(work->share_diff >= test_diff)) {
|
if (unlikely(work->share_diff >= test_diff)) {
|
||||||
work->block = true;
|
work->block = true;
|
||||||
work->pool->solved++;
|
work->pool->solved++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user