fix: lint and fmt

This commit is contained in:
Oleksandr Pravdyvyi 2025-10-30 17:23:50 +02:00
parent 2c21abc2d9
commit 228f7591d5
No known key found for this signature in database
GPG Key ID: 9F8955C63C443871
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ pub async fn fetch_config() -> Result<WalletConfig> {
let mut file = tokio::fs::OpenOptions::new() let mut file = tokio::fs::OpenOptions::new()
.write(true) .write(true)
.create(true) .create(true)
.truncate(true)
.open(config_home.join("wallet_config.json")) .open(config_home.join("wallet_config.json"))
.await?; .await?;

View File

@ -217,7 +217,7 @@ pub enum Command {
/// match the remote versions /// match the remote versions
CheckHealth {}, CheckHealth {},
/// Command to explicitly setup config and storage /// Command to explicitly setup config and storage
/// ///
/// Does nothing in case if both already present /// Does nothing in case if both already present
Setup {}, Setup {},
} }