aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/relay.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/relay.rs')
-rw-r--r--src/swarm/relay.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/swarm/relay.rs b/src/swarm/relay.rs
index 0f8a697..a8e3d57 100644
--- a/src/swarm/relay.rs
+++ b/src/swarm/relay.rs
@@ -157,7 +157,11 @@ pub(crate) async fn announce(
let mut plans = Vec::new();
let mut treeless = unauthored || writers.is_empty();
for (writer, changes) in writers {
- match crate::swarm::tree::forward(state, *writer, from, changes).await {
+ match state
+ .dissemination
+ .forward(state, *writer, from, changes)
+ .await
+ {
Some(plan) => plans.push(plan),
None => treeless = true,
}