From 8a29efed857991417d12b8e21884dbbcb53ff4a0 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 02:48:25 +0000 Subject: document: the writers a node wrote under are the document's, not a remake's The actors a node writes or wrote with in its current document (document::own::OwnWriters, AppState::own_writers) were kept by the remake state, which signing, the document file, sync and a dropped change read them from. They are the engine's: a document of a kind without writers of this sort has none, and needs no remake state for them. --- src/document/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document/file.rs') diff --git a/src/document/file.rs b/src/document/file.rs index a21aa17..80c76e6 100644 --- a/src/document/file.rs +++ b/src/document/file.rs @@ -245,7 +245,7 @@ pub(crate) struct DocumentFile { #[derive(Debug, Clone)] struct Written { epoch: Epoch, - /// This node's actors when the file was last rewritten (`RemakeState::own_actors`). + /// This node's actors when the file was last rewritten (`document::own::OwnWriters`). actors: usize, heads: Vec, /// How many of the document's signatures (`Signatures::count`). -- cgit v1.3.1