diff --git a/rust/kathy/src/main.rs b/rust/kathy/src/main.rs index 2cb1d722a..ca12013e6 100644 --- a/rust/kathy/src/main.rs +++ b/rust/kathy/src/main.rs @@ -14,12 +14,8 @@ use optics_base::{agent::OpticsAgent, settings::log::Style}; use crate::{kathy::Kathy, settings::KathySettings as Settings}; async fn _main(settings: Settings) -> Result<()> { - let kathy = Kathy::from_settings(settings).await?; - - // Normally we would run_from_settings - // but for an empty replica vector that would do nothing - kathy.run("").await??; - + let relayer = Kathy::from_settings(settings).await?; + relayer.run_all().await?; Ok(()) }