Fix cooldown display

This commit is contained in:
2026-07-27 01:22:41 +02:00
parent 1a47d0c487
commit b412cf50ec
6 changed files with 19 additions and 9 deletions
+1 -3
View File
@@ -59,7 +59,7 @@ impl StrategyEngine {
Arc::new(self)
}
pub async fn run_strategy(&self) -> tokio::io::Result<()> {
pub async fn run_strategy(&self) -> anyhow::Result<()> {
let engine = self
.engine
.upgrade()
@@ -157,8 +157,6 @@ impl StrategyEngine {
Some(RiskMessage::Reject { reason }) => {}
}
}
Ok(())
}
pub async fn spawn(self: &Arc<Self>) {
+1 -1
View File
@@ -4,7 +4,7 @@ pub mod store;
pub mod terminal;
#[tokio::main]
async fn main() -> tokio::io::Result<()> {
async fn main() -> anyhow::Result<()> {
let engine = engine::Engine::new().await?;
let terminal_server = engine.spawn_terminal_server().await;