mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-08 21:14:14 +00:00
Return positive for cnx_needed when no_work is true.
This commit is contained in:
parent
7dbe4bbeb3
commit
919a836f14
@ -4999,6 +4999,9 @@ static bool cnx_needed(struct pool *pool)
|
|||||||
return true;
|
return true;
|
||||||
if (pool_unworkable(cp))
|
if (pool_unworkable(cp))
|
||||||
return true;
|
return true;
|
||||||
|
/* We've run out of work, bring anything back to life. */
|
||||||
|
if (no_work)
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user