From 0617951a2936a8dd7c64eb05a3605893cc9d73f1 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 06:32:25 +0100 Subject: reach set for the session --- src/api/peers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api/peers.rs') diff --git a/src/api/peers.rs b/src/api/peers.rs index cd70f7d..6662a55 100644 --- a/src/api/peers.rs +++ b/src/api/peers.rs @@ -61,7 +61,7 @@ pub(crate) struct PeerStatus { /// We keep it alive and sync with it on our own; other peers we only answer. pub(crate) neighbour: bool, /// The members it said it reaches (`swarm::reach`), by node ID, while that holds; - /// absent before it said so, or once it is stale. Keys of members not in our member + /// absent before it said so in this session. Keys of members not in our member /// list are left out. pub(crate) reaches: Option>, /// Messages and payload bytes exchanged with it, by kind, since we started (or @@ -187,7 +187,7 @@ pub(crate) async fn peer_list(state: &AppState) -> PeerListResponse { same_epoch: ps.epoch.map(|epoch| epoch == local_epoch), heads: ps.reported_heads, neighbour, - reaches: crate::swarm::reach::of(&state, ps.reaches.as_ref()).map(&named), + reaches: crate::swarm::reach::of(ps.reaches.as_ref()).map(&named), traffic, incidents: ps.incidents, sync_throughput, -- cgit v1.3.1