diff --git a/CHANGELOG.md b/CHANGELOG.md index 9864e90..7413398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # [unreleased] -- Bumped `spacepackets` to v0.17 +- Bumped `spacepackets` to v0.18 + +## Fixed + +- Destination handler's `TransactionParams::reset` now resets all fields instead of just two. + The incomplete reset left stale acknowledged-mode state behind, so a new transaction's Metadata + PDU was mistaken for a duplicate of an already-processed one and silently dropped, breaking + every transfer after the first one on a given destination handler instance. # [v0.3.0] 2025-09-25 diff --git a/src/dest.rs b/src/dest.rs index 6f85090..6613afd 100644 --- a/src/dest.rs +++ b/src/dest.rs @@ -257,8 +257,7 @@ impl Default for TransactionParams { impl TransactionParams { fn reset(&mut self) { - self.finished_params.reset(); - self.anomaly_tracker.reset(); + *self = Self::default(); } }