commit 04b350b476579674679ccf2823d57be8606be559
parent 73ae92dc52f94e36bc58cb0c00f615a575d27da8
Author: Roger Dingledine <arma@torproject.org>
Date: Sun, 24 Jun 2018 18:14:24 -0400
better log line for debugging #26485
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
@@ -606,8 +606,11 @@ networkstatus_check_consensus_signature(networkstatus_t *consensus,
char *tmp = smartlist_join_strings(list_good, " ", 0, NULL);
smartlist_add_asprintf(sl,
"A consensus needs %d good signatures from recognized "
- "authorities for us to accept it. This one has %d (%s).",
- n_required, n_good, tmp);
+ "authorities for us to accept it. "
+ "This %s one has %d (%s).",
+ n_required,
+ networkstatus_get_flavor_name(consensus->flavor),
+ n_good, tmp);
tor_free(tmp);
if (n_no_signature) {
tmp = smartlist_join_strings(list_no_signature, " ", 0, NULL);