feat: print solution on start

This commit is contained in:
Christoph J. Scherr 2024-09-06 18:06:03 +02:00
parent f00aa8b4e9
commit 8e05489be9
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ impl C1 {}
#[async_trait] #[async_trait]
impl Challenge for C1 { impl Challenge for C1 {
fn new(config: Config, vault: VaultRef) -> Self { fn new(config: Config, vault: VaultRef) -> Self {
info!("Solution: {}", Self::solution());
Self { config, vault } Self { config, vault }
} }

View File

@ -36,6 +36,7 @@ impl C2 {
#[async_trait] #[async_trait]
impl Challenge for C2 { impl Challenge for C2 {
fn new(config: Config, vault: VaultRef) -> Self { fn new(config: Config, vault: VaultRef) -> Self {
info!("Solution: {}", Self::solution());
Self { config, vault } Self { config, vault }
} }