mirror of
https://github.com/romanz/electrs.git
synced 2025-02-24 15:02:21 +01:00
Add log statement for blk*.dat globbing
This commit is contained in:
parent
4f8d83f2d0
commit
de02d8b987
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue