Connect the Tendermint machine to a GossipEngine

This commit is contained in:
Luke Parker
2022-10-30 05:16:25 -04:00
parent 1af6117155
commit 6c54289fb4
5 changed files with 78 additions and 10 deletions

View File

@@ -184,7 +184,11 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
})?;
if is_authority {
authority.validate().await;
task_manager.spawn_essential_handle().spawn(
"tendermint",
None,
authority.validate(network, None),
);
}
network_starter.start_network();