1 2 3 4 5 6 7 8 9
use crate::bridge::PangolinRopstenTask;
pub async fn handle_start() -> color_eyre::Result<()> {
tracing::info!("Start bridge pangolin-ropsten");
let _task = PangolinRopstenTask::new().await?;
loop {
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
}
}