commit e0f6047ea0940ef239a60aac0ee3781bdcc108a9 Author: Nick Mathewson nickm@torproject.org Date: Wed Sep 23 11:50:57 2020 -0400
Remove needless sort operation. --- src/feature/dirauth/dirvote.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index a27dde6f56..653af28033 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -4372,8 +4372,6 @@ get_all_possible_sybil(const smartlist_t *routers) smartlist_add(routers_ipv4, ri); } }); - routers_sort_by_identity(routers_ipv4); - routers_sort_by_identity(routers_ipv6); omit_as_sybil_ipv4 = get_sybil_list_by_ip_version(routers_ipv4, AF_INET); omit_as_sybil_ipv6 = get_sybil_list_by_ip_version(routers_ipv6, AF_INET6);
tor-commits@lists.torproject.org