Browse Source

Display correct pool number when block is found.

Con Kolivas 13 years ago
parent
commit
461b7c6de2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -2633,7 +2633,7 @@ static void check_solve(struct work *work)
 		work->pool->solved++;
 		work->pool->solved++;
 		found_blocks++;
 		found_blocks++;
 		work->mandatory = true;
 		work->mandatory = true;
-		applog(LOG_NOTICE, "Found block for pool %d!", work->pool);
+		applog(LOG_NOTICE, "Found block for pool %d!", work->pool->pool_no);
 	}
 	}
 #endif
 #endif
 }
 }