From: Valentine Wallace Date: Wed, 17 Feb 2021 19:25:48 +0000 (-0500) Subject: check # write_to_file calls X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0eee023198eba58329042eafbd564ce97c20a6e8;p=rust-lightning check # write_to_file calls --- diff --git a/lightning-persister/src/util.rs b/lightning-persister/src/util.rs index ed3aa27e6..d568af561 100644 --- a/lightning-persister/src/util.rs +++ b/lightning-persister/src/util.rs @@ -39,9 +39,8 @@ fn path_to_windows_str>(x: T) -> Vec(path: String, filename: String, data: &D) -> std::io::Result<()> { - println!("VMW: creating dir"); + println!("VMW: in write_to_file, filename: {}", filename); fs::create_dir_all(path.clone())?; - println!("VMW: created dir"); // Do a crazy dance with lots of fsync()s to be overly cautious here... // We never want to end up in a state where we've lost the old data, or end up using the