commit e0f6047ea0940ef239a60aac0ee3781bdcc108a9
parent 3196de33a567bb3126652ffbadf8c7d31eff4887
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 23 Sep 2020 11:50:57 -0400
Remove needless sort operation.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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);