commit 5ef3dd493236573f40cca23b2026b13ad0f78c65 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Jul 9 21:33:21 2013 +0200
Write nicknames of authorities that voted, but didn't sign.
Before:
NOTICE: The signatures of the following, previously voting authorities are missing from at least one consensus: 585769C78764D58426B8B52B6651A5A71137189A
After:
NOTICE: The signatures of the following, previously voting authorities are missing from at least one consensus: dannenberg --- src/org/torproject/doctor/Checker.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/org/torproject/doctor/Checker.java b/src/org/torproject/doctor/Checker.java index 9d7aed8..9d7cc1d 100644 --- a/src/org/torproject/doctor/Checker.java +++ b/src/org/torproject/doctor/Checker.java @@ -165,11 +165,11 @@ public class Checker { if (!downloadedConsensus.getDirectorySignatures().keySet(). containsAll(downloadedConsensus.getDirSourceEntries(). keySet())) { - for (String dirSource : downloadedConsensus.getDirSourceEntries(). - keySet()) { + for (DirSourceEntry dirSourceEntry : + downloadedConsensus.getDirSourceEntries().values()) { if (!downloadedConsensus.getDirectorySignatures().containsKey( - dirSource)) { - missingSignatures.add(dirSource); + dirSourceEntry.getIdentity())) { + missingSignatures.add(dirSourceEntry.getNickname()); } } }