aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-11-09 09:08:48 -0500
committerNick Mathewson <nickm@torproject.org>2021-11-09 09:08:48 -0500
commita7fb5563bc4902950f57203fd9fff82ec28179c2 (patch)
treedacade047bc919cce0e582e62cf56cd4671e1c0b /src/feature/nodelist
parent73639fc3c1696e3073f51875c71355e5bd0bf656 (diff)
downloadtor-a7fb5563bc4902950f57203fd9fff82ec28179c2.tar.gz
tor-a7fb5563bc4902950f57203fd9fff82ec28179c2.zip
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.
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r--src/feature/nodelist/networkstatus.c1
1 files changed, 0 insertions, 1 deletions
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 ||