This commit is contained in:
Boog900 2024-10-27 01:46:50 +01:00
parent 2751831a75
commit 54f0bdee86
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
2 changed files with 7 additions and 3 deletions

View file

@ -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"
"#

View file

@ -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();