1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-28 15:34:16 +00:00

Check for pool enabled in cnx_needed.

This commit is contained in:
Con Kolivas 2013-05-31 23:10:46 +10:00
parent 23d6857fa1
commit 6fec07ab7e

View File

@ -4800,6 +4800,9 @@ static bool cnx_needed(struct pool *pool)
{
struct pool *cp;
if (pool->enabled != POOL_ENABLED)
return false;
/* Balance strategies need all pools online */
if (pool_strategy == POOL_BALANCE)
return true;