From 4535fa4286ca67e0db2410db17ca75acb9b9c50d Mon Sep 17 00:00:00 2001 From: ok300 <106775972+ok300@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:06:49 +0100 Subject: [PATCH] Fix "just final-check" --- crates/cdk-mintd/example.config.toml | 4 ++-- crates/cdk-mintd/src/config.rs | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/cdk-mintd/example.config.toml b/crates/cdk-mintd/example.config.toml index 45a6477c..8003901a 100644 --- a/crates/cdk-mintd/example.config.toml +++ b/crates/cdk-mintd/example.config.toml @@ -45,8 +45,8 @@ ln_backend = "cln" #Required if using cln backend path to rpc cln_path = "" rpc_path = "" -# fee_percent=0.04 -# reserve_fee_min=4 +fee_percent = 0.04 +reserve_fee_min = 4 # [strike] # For the Webhook subscription, the url under [info] must be a valid, absolute, non-local, https url diff --git a/crates/cdk-mintd/src/config.rs b/crates/cdk-mintd/src/config.rs index df46c279..b14cfc79 100644 --- a/crates/cdk-mintd/src/config.rs +++ b/crates/cdk-mintd/src/config.rs @@ -221,7 +221,9 @@ impl Settings { match from_file { Ok(f) => f, Err(e) => { - tracing::warn!("Error reading config file ({:?})", e); + tracing::error!( + "Error reading config file, falling back to defaults. Error: {e:?}" + ); default_settings } }