mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-07 11:42:15 +00:00
Rolling work on each loop through the mining thread serves no purpose.
This commit is contained in:
parent
d42d0c8ebd
commit
eff9fe43b2
@ -3297,9 +3297,6 @@ void *miner_thread(void *userdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
sdiff.tv_sec = sdiff.tv_usec = 0;
|
sdiff.tv_sec = sdiff.tv_usec = 0;
|
||||||
|
|
||||||
if (can_roll(work) && should_roll(work))
|
|
||||||
roll_work(work);
|
|
||||||
} while (!abandon_work(work, &wdiff, hashes));
|
} while (!abandon_work(work, &wdiff, hashes));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user