Fix cooldown display
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user