Use dirs-next instead of dirs since the latter is unmantained

This commit is contained in:
Riccardo Casatta committed 2020-11-19 17:57:59 +01:00
1 parent dbfa0506db
commit 73326068f8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ use bdk::blockchain::esplora::EsploraBlockchainConfig;
fn prepare_home_dir() -> PathBuf {
let mut dir = PathBuf::new();
dir.push(&dirs::home_dir().unwrap());
dir.push(&dirs_next::home_dir().unwrap());
dir.push(".bdk-bitcoin");
if !dir.exists() {