From 2daa4290eef11062dd04352e38011b70401537b3 Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Tue, 21 Sep 2021 10:23:34 +0200 Subject: [PATCH] cli/cli_config: disabled config db path. bin/darkfid: hardcoded path --- src/bin/darkfid.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/darkfid.rs b/src/bin/darkfid.rs index 8ae356e45..985f3f675 100644 --- a/src/bin/darkfid.rs +++ b/src/bin/darkfid.rs @@ -38,10 +38,8 @@ struct Darkfid { impl Darkfid { fn new(verbose: bool, config_path: PathBuf) -> Result { let config: DarkfidConfig = Config::::load(config_path)?; - let wallet = WalletDb::new( - &PathBuf::from(config.walletdb_path.clone()), - config.password.clone(), - )?; + let wallet_path = join_config_path(&PathBuf::from("walletdb.db"))?; + let wallet = WalletDb::new(&PathBuf::from(wallet_path.clone()), config.password.clone())?; Ok(Self { verbose,