Move spawn_cosign from main.rs into tributary.rs

Also refines the tasks within tributary.rs a good bit.
This commit is contained in:
Luke Parker
2025-01-11 05:12:56 -05:00
parent 3c664ff05f
commit 77d60660d2
3 changed files with 225 additions and 179 deletions

View File

@@ -141,7 +141,7 @@ impl<P: P2p> ContinuallyRan for SubstrateTask<P> {
// Now spawn the Tributary
// If we reboot after committing the txn, but before this is called, this will be called
// on boot
crate::spawn_tributary(
crate::tributary::spawn_tributary(
self.db.clone(),
self.message_queue.clone(),
self.p2p.clone(),