diff --git a/binaries/cuprated/src/config/Cuprate.toml b/binaries/cuprated/src/config/Cuprate.toml index 66cc43c2..aa8031f8 100644 --- a/binaries/cuprated/src/config/Cuprate.toml +++ b/binaries/cuprated/src/config/Cuprate.toml @@ -1,4 +1,3 @@ -r#" # ____ _ # / ___| _ _ __ _ __ __ _| |_ ___ # | | | | | | '_ \| '__/ _` | __/ _ \ @@ -74,5 +73,3 @@ max_txpool_size = 100_000_000 path = "{blockchain}" ## The database sync mode for the blockchain. sync_mode = "Async" - -"# \ No newline at end of file diff --git a/binaries/cuprated/src/config/default.rs b/binaries/cuprated/src/config/default.rs index 87e78bd9..9afcf051 100644 --- a/binaries/cuprated/src/config/default.rs +++ b/binaries/cuprated/src/config/default.rs @@ -52,6 +52,13 @@ mod tests { fn generate_config_text_covers_all_values() { let text = generate_config_text(); + #[cfg!(target_os = "windows")] + { + let full_config = Config::default(); + panic!(toml::to_string_pretty(&full_config).unwrap()); + } + + let table: toml::Table = toml::from_str(&text).unwrap(); let full_config = Config::default();