From f3f7a8b5ff3a8cffbbcd4bd30b2d2ae7e7fa1ab7 Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Tue, 28 Jan 2025 17:06:33 -0500 Subject: [PATCH] fix: create stores directory at startup Signed-off-by: Simon Gellis --- firefly-cardanoconnect/src/contracts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/firefly-cardanoconnect/src/contracts.rs b/firefly-cardanoconnect/src/contracts.rs index ecb081b..f078eeb 100644 --- a/firefly-cardanoconnect/src/contracts.rs +++ b/firefly-cardanoconnect/src/contracts.rs @@ -45,6 +45,7 @@ impl ContractManager { blockfrost: Option, ) -> Result { fs::create_dir_all(&config.components_path).await?; + fs::create_dir_all(&config.stores_path).await?; let ledger = blockfrost.map(|client| { let ledger = BlockfrostLedger::new(client); Ledger::Custom(Arc::new(Mutex::new(ledger)))