From c5d9f3ac609af380452175a437062218e0dc5ae0 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 10 Dec 2012 10:32:21 +1100 Subject: [PATCH] Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode. --- cgminer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cgminer.c b/cgminer.c index b2ffb5c2..deb541c9 100644 --- a/cgminer.c +++ b/cgminer.c @@ -6845,7 +6845,7 @@ retry: pool_died(pool); sleep(5); push_curl_entry(ce, pool); - pool = select_pool(true); + pool = select_pool(!opt_fail_only); goto retry; } if (ts >= max_staged) @@ -6860,4 +6860,3 @@ retry: return 0; } -