Commit 4f6cf3c8e9f2d722618ffc59216cff24c18565db

Con Kolivas 2011-12-31T21:11:42

Merge pull request #65 from kanoi/master Display pool in summary if only 1 pool

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index cf5fabe..cded16d 100644
--- a/main.c
+++ b/main.c
@@ -5392,6 +5392,8 @@ static void print_summary(void)
 
 	applog(LOG_WARNING, "\nSummary of runtime statistics:\n");
 	applog(LOG_WARNING, "Started at %s", datestamp);
+	if (total_pools == 1)
+		applog(LOG_WARNING, "Pool: %s", pools[0]->rpc_url);
 	if (opt_n_threads)
 		applog(LOG_WARNING, "CPU hasher algorithm used: %s", algo_names[opt_algo]);
 	applog(LOG_WARNING, "Runtime: %d hrs : %d mins : %d secs", hours, mins, secs);