mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Add log statement for blk*.dat globbing
This commit is contained in:
parent
4f8d83f2d0
commit
de02d8b987
@ -227,6 +227,7 @@ impl Daemon {
|
||||
let mut path = self.daemon_dir.clone();
|
||||
path.push("blocks");
|
||||
path.push("blk*.dat");
|
||||
info!("listing block files at {:?}", path);
|
||||
let mut paths: Vec<PathBuf> = glob::glob(path.to_str().unwrap())
|
||||
.chain_err(|| "failed to list blk*.dat files")?
|
||||
.map(|res| res.unwrap())
|
||||
|
Loading…
Reference in New Issue
Block a user