commit 7c962a0b2caedd30abf5fb17401d2b591a691e23
parent 884d787e8d42925770c76e9a492eeebd6bc235b3
Author: triesap <tyson@radroots.org>
Date: Mon, 27 Jul 2026 21:07:57 +0000
tests: align relay fetch receipt fixture
- initialize duplicate receipt counts explicitly
- initialize verification failure counts explicitly
- initialize truncated event counts explicitly
- preserve the zero-anomaly relay fixture semantics
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/runtime/sync.rs b/src/runtime/sync.rs
@@ -3038,10 +3038,13 @@ mod tests {
})
.collect(),
event_receipts: Vec::new(),
+ duplicate_count: 0,
+ verification_failed_count: 0,
malformed_count: 0,
out_of_filter_count: 0,
skipped_over_limit_count: 0,
eose_count: connected_relays.len(),
+ truncated_count: 0,
closed_count,
notice_count: 0,
relay_outcomes: Vec::new(),