aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 17:57:55 +0000
committertv <tv@krebsco.de>2026-11-30 17:57:55 +0000
commit00e88cd983766abec32b5a14a8cbf20932a27f3c (patch)
treefaf9cba0a32b2cc6b6026151f37ddd13e3b06e2f /src/api/peers.rs
parent93defc68f9b99da921f4746e91e5cee9e6e3f1b9 (diff)
swarm: members read of a set's entries over the document's
What a set hands the node to read was read in the document's place; it is read over it now (view::Listed): at a path, what the set's tree holds, else what the document does, and maps of both as one. A node on a set alone reads the same as before, its document being empty; one holding its store in both, to come, reads the members of both.
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs
index 2282e6c..ed7d97f 100644
--- a/src/api/peers.rs
+++ b/src/api/peers.rs
@@ -172,7 +172,7 @@ pub(crate) async fn peer_list(state: &AppState) -> PeerListResponse {
let now = Instant::now();
let local_epoch = state.local_epoch();
let entries = state.entries();
- let mut aliases = crate::swarm::members::aliases(crate::document::view::members_of(
+ let mut aliases = crate::swarm::members::aliases(&crate::document::view::members_of(
&entries,
&state.doc.read().await.doc,
));