diff options
| author | tv <tv@krebsco.de> | 2026-11-29 02:48:25 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 02:48:25 +0000 |
| commit | 8a29efed857991417d12b8e21884dbbcb53ff4a0 (patch) | |
| tree | f57da52ac22090146c3f3baac23fb0b5dd2938dc /src/document/file.rs | |
| parent | b259ee75fbbbf8e265a0bf2a0b79c4f6a75f395a (diff) | |
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.
Diffstat (limited to 'src/document/file.rs')
| -rw-r--r-- | src/document/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<ChangeHash>, /// How many of the document's signatures (`Signatures::count`). |
