From beba34b227b4a61ca23995bedba114df33a767a0 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Mon, 23 Apr 2018 01:32:46 -0700 Subject: [PATCH] Dev pool tweak --- sgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sgminer.c b/sgminer.c index 6c40a15c..82003d6a 100644 --- a/sgminer.c +++ b/sgminer.c @@ -1065,6 +1065,7 @@ static void enable_pool(struct pool *pool) static void disable_pool(struct pool *pool) { + if (pool->is_dev_pool) return; if (pool->state == POOL_ENABLED) enabled_pools--; pool->state = POOL_DISABLED; @@ -1081,6 +1082,7 @@ static void reject_pool(struct pool *pool) * still be work referencing it. We just remove it from the pools list */ void remove_pool(struct pool *pool) { + if (pool->is_dev_pool) return; int i, last_pool = total_pools - 1; struct pool *other;