From 00e88cd983766abec32b5a14a8cbf20932a27f3c Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Nov 2026 17:57:55 +0000 Subject: 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. --- src/swarm/state_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swarm/state_file.rs') diff --git a/src/swarm/state_file.rs b/src/swarm/state_file.rs index a8c371c..51b00cc 100644 --- a/src/swarm/state_file.rs +++ b/src/swarm/state_file.rs @@ -135,7 +135,7 @@ pub(crate) async fn update(state: &AppState, now: bool) { let replica = state.doc.read().await; let entries = state.entries(); seeds( - crate::document::view::members_of(&entries, &replica.doc), + &crate::document::view::members_of(&entries, &replica.doc), state.local_id(), state.electorate_window, state.clock.now_millis().as_u64(), -- cgit v1.3.1