Commit 9bf0ad18a49bbdea72db9bdba9870f436c4671e3

Kano 2012-01-01T16:07:48

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);