diff --git a/bin/darkfid/src/main.rs b/bin/darkfid/src/main.rs index f844fe77d..fd39bf0cc 100644 --- a/bin/darkfid/src/main.rs +++ b/bin/darkfid/src/main.rs @@ -300,7 +300,7 @@ async fn realmain(args: Args, ex: Arc>) -> Result<()> { let wallet = init_wallet(&args.wallet_path, &args.wallet_pass).await?; // Initialize or open sled database - let db_path = + let db_path = Path::new(expand_path(&args.database)?.to_str().unwrap()).join(args.chain.clone()); let sled_db = sled::open(&db_path)?;