diff options
| author | tv <tv@krebsco.de> | 2026-11-07 22:35:22 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-07 22:35:22 +0100 |
| commit | 91d1bb60cb7a8d92e4e1966dabbcb50a2406c75e (patch) | |
| tree | 45ea7c8169dfbd7ac14108012254a56961baad1d /src/swarm/signatures.rs | |
| parent | cdc81b0f1f0cba1f36d38a8151cad7660074d9f4 (diff) | |
access: refused once
A refused change is remembered by its hash: offered again it is refused
without decoding, judging or logging, so is one built on it, and a peer
offering nothing else is answered later each time, up to a minute.
Auth plan M6 (re-sending).
Diffstat (limited to 'src/swarm/signatures.rs')
| -rw-r--r-- | src/swarm/signatures.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/signatures.rs b/src/swarm/signatures.rs index 309ccc2..9ea404e 100644 --- a/src/swarm/signatures.rs +++ b/src/swarm/signatures.rs @@ -96,7 +96,7 @@ pub(crate) async fn received(state: &AppState, message: SignaturesMessage) { }); replica.refresh_heads(); return match applied { - Ok(applied) => applied, + Ok(outcome) => outcome.applied, Err(error) => { tracing::warn!(error = %format!("{error:#}"), "Couldn't judge the changes waiting for signatures"); 0 |
