mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-11 05:01:09 +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;
|
||||
if (pool_unworkable(cp))
|
||||
return true;
|
||||
/* We've run out of work, bring anything back to life. */
|
||||
if (no_work)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user