aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs4
1 files changed, 2 insertions, 2 deletions
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<Vec<String>>,
/// 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,