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.
This commit is contained in:
Nick Mathewson 2021-11-09 09:08:48 -05:00
parent 73639fc3c1
commit a7fb5563bc

View File

@ -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 ||