aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/sync.rs')
-rw-r--r--src/swarm/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/sync.rs b/src/swarm/sync.rs
index 3737f85..ab45b37 100644
--- a/src/swarm/sync.rs
+++ b/src/swarm/sync.rs
@@ -441,7 +441,7 @@ pub(crate) async fn handle_sync(
stats.heads_seen(heads_after.len());
let changed = heads_after != heads_before;
if carried && !changed {
- stats.nothing_new(payload_len);
+ stats.nothing_new(payload_len, writer.is_some(), delivered);
}
// Whose they are, to pass them on along their writers' trees, however they
// came (along a tree, with an answer, pulled).