mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Remove unintentional block of code in reuse_work.
This commit is contained in:
parent
86fd23a305
commit
40a3331e72
@ -5016,9 +5016,6 @@ static struct work *hash_pop(const struct timespec *abstime)
|
|||||||
|
|
||||||
static bool reuse_work(struct work *work, struct pool *pool)
|
static bool reuse_work(struct work *work, struct pool *pool)
|
||||||
{
|
{
|
||||||
if (work->mined && (pool_strategy == POOL_BALANCE || pool_strategy == POOL_LOADBALANCE))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (pool->has_stratum) {
|
if (pool->has_stratum) {
|
||||||
if (!pool->stratum_active)
|
if (!pool->stratum_active)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user