aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/signatures.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:22 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:22 +0100
commit91d1bb60cb7a8d92e4e1966dabbcb50a2406c75e (patch)
tree45ea7c8169dfbd7ac14108012254a56961baad1d /src/swarm/signatures.rs
parentcdc81b0f1f0cba1f36d38a8151cad7660074d9f4 (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.rs2
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