commit c5092535e1fa818c657956460d13ecacd0854e33 Author: Damian Johnson atagar@torproject.org Date: Thu Dec 22 18:36:57 2016 -0800
Also ignoring shared-rand-previous-value ordering
Same issue as the prior commit but another field. Took a while to show up because it wasn't in the consensus at the time. --- stem/descriptor/networkstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py index 028594d..7456b37 100644 --- a/stem/descriptor/networkstatus.py +++ b/stem/descriptor/networkstatus.py @@ -1110,7 +1110,7 @@ def _check_for_misordered_fields(entries, expected): # # https://trac.torproject.org/projects/tor/ticket/21059
- actual = [field for field in entries.keys() if field in expected and field != 'shared-rand-current-value'] + actual = [field for field in entries.keys() if field in expected and field not in ('shared-rand-current-value', 'shared-rand-previous-value')]
# Narrow the expected to just what we have. If the lists then match then the # order's valid.
tor-commits@lists.torproject.org