commit 46ebb174eee680c63006250971c0d0bf1ba84526 Author: Damian Johnson atagar@torproject.org Date: Wed May 10 10:19:06 2017 -0700
Further fix to correct stacktrace
I need to be more careful about code I write before my morning coffee. :P --- consensus_health_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/consensus_health_checker.py b/consensus_health_checker.py index 1e46b72..ba9c2b1 100755 --- a/consensus_health_checker.py +++ b/consensus_health_checker.py @@ -787,7 +787,7 @@ def shared_random_commit_partitioning(latest_consensus, consensuses, votes):
for authority, vote in votes.items(): for commitment in vote.directory_authorities[0].shared_randomness_commitments: - if commitment.identity not in self_commitments[commitment.identity]: + if commitment.identity not in self_commitments: pass # we didn't get a vote for this authority so we don't know its self-reported commitment elif commitment.commit != self_commitments[commitment.identity]: issues.append(Issue(Runlevel.WARNING, 'SHARED_RANDOM_COMMITMENT_MISMATCH', authority = authority, their_v3ident = commitment.identity, our_value = commitment.commit, their_value = self_commitments[commitment.identity], to = [authority]))
tor-commits@lists.torproject.org