Browse Source

Bugfix: Only display pools as Failover state when it is effectively so

Luke Dashjr 11 years ago
parent
commit
2ac47b2731
1 changed files with 2 additions and 1 deletions
  1. 2 1
      miner.c

+ 2 - 1
miner.c

@@ -7518,7 +7518,8 @@ updated:
 			wlogprint("%d: ", pool->prio);
 			switch (pool->enabled) {
 				case POOL_ENABLED:
-					if (pool->failover_only)
+					if ((pool_strategy == POOL_LOADBALANCE) ? (!pool->quota)
+					    : ((pool_strategy != POOL_FAILOVER) ? pool->failover_only : 0))
 						wlogprint("Failover ");
 					else
 						wlogprint("Enabled  ");