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

This commit is contained in:
Riccardo Casatta
2020-11-19 15:22:46 +01:00
parent dbfa0506db
commit 73326068f8
2 changed files with 2 additions and 2 deletions

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() {