Flatten the map of preprocesses/shares, send Participant index with DkgParticipation

This commit is contained in:
Luke Parker
2025-01-15 14:24:51 -05:00
parent 167826aa88
commit f36bbcba25
5 changed files with 74 additions and 61 deletions

View File

@@ -479,7 +479,7 @@ pub(crate) async fn spawn_tributary<P: P2p>(
// Spawn the scan task
let (scan_tributary_task_def, scan_tributary_task) = Task::new();
tokio::spawn(
ScanTributaryTask::<_, P>::new(tributary_db.clone(), &set, reader)
ScanTributaryTask::<_, P>::new(tributary_db.clone(), set.clone(), reader)
// This is the only handle for this TributaryProcessorMessagesTask, so when this task is
// dropped, it will be too
.continually_run(scan_tributary_task_def, vec![scan_tributary_messages_task]),