aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm')
-rw-r--r--src/swarm/sync.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/swarm/sync.rs b/src/swarm/sync.rs
index 681a3bb..0f607e7 100644
--- a/src/swarm/sync.rs
+++ b/src/swarm/sync.rs
@@ -556,11 +556,7 @@ pub(crate) async fn handle_sync(
Some(message) => message,
None => {
let (heads, changes, _) = pushed.expect("pushed or decoded");
- crate::document::sync::Received::pushed(
- heads,
- changes,
- replica.heads().to_vec(),
- )
+ crate::document::sync::Received::pushed(heads, changes)
}
};
let carried = message.carries_changes();