[tor-commits] [tor] 05/08: Stop checking published_on in routerstatus_has_visibly_changed()

gitolite role git at cupani.torproject.org
Mon May 16 12:55:07 UTC 2022


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit a7fb5563bc4902950f57203fd9fff82ec28179c2
Author: Nick Mathewson <nickm at torproject.org>
AuthorDate: Tue Nov 9 09:08:48 2021 -0500

    Stop checking published_on in routerstatus_has_visibly_changed()
    
    This function is only used for the controller; and any time that the
    published_on time has changed, the digest should also change.
---
 src/feature/nodelist/networkstatus.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index d4a37c4db9..c006ee015e 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -1613,7 +1613,6 @@ routerstatus_has_visibly_changed(const routerstatus_t *a,
          a->is_hs_dir != b->is_hs_dir ||
          a->is_staledesc != b->is_staledesc ||
          a->has_bandwidth != b->has_bandwidth ||
-         a->published_on != b->published_on ||
          a->ipv6_orport != b->ipv6_orport ||
          a->is_v2_dir != b->is_v2_dir ||
          a->bandwidth_kb != b->bandwidth_kb ||

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list