GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 51eb5004 authored by juga  's avatar juga
Browse files

fix: relaylist: Update relay status before consensus

Update relay status before updating the consensus timestamps
Timestamps that are not old yet were getting removed because the
document.valid_after timestamp was still the one from the previous

Closes #33570.
parent bbb59b1e
......@@ -456,9 +456,9 @@ class RelayList:
# If a relay in the previous consensus and is in the current
# one, update its timestamp, router status and descriptor.
fp = r.fingerprint
# new_relays_dict[fp] is the router status.
descriptor = c.get_server_descriptor(fp, default=None)
except (DescriptorUnavailable, ControllerError) as e:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment