Commit 4233c2e3d280b0cc8404598bf0b0b4e90287ab8e

Con Kolivas 2014-03-22T09:43:18

One less block detection message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 6671512..ef61987 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4688,7 +4688,7 @@ static bool test_work_current(struct work *work)
 				applog(LOG_NOTICE, "%sLONGPOLL from pool %d detected new block",
 				       work->gbt ? "GBT " : "", work->pool->pool_no);
 			}
-		} else if (have_longpoll)
+		} else if (have_longpoll && !pool->gbt_solo)
 			applog(LOG_NOTICE, "New block detected on network before pool notification");
 		else if (!pool->gbt_solo)
 			applog(LOG_NOTICE, "New block detected on network");