Commit b21cec50c2f2ca734ef0329ff4d0cbf044a202d6

Con Kolivas 2014-03-22T09:44:31

Only start block detection with gbt solo if setup succeeded

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index ef61987..0fa2500 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6571,7 +6571,8 @@ retry_stratum:
 		if (rc) {
 			if (pool->gbt_solo) {
 				ret = setup_gbt_solo(curl, pool);
-				pool_start_lp(pool);
+				if (ret)
+					pool_start_lp(pool);
 				goto out;
 			}
 			applog(LOG_DEBUG, "Successfully retrieved and deciphered work from pool %u %s",