Merge #1744: fix: use correct path to daemon.toml in settings
7785cbad28c476154499c931aab3ec7cb6d99650 fix: use correct path to daemon.toml in settings (Michael Mallan) Pull request description: This fixes #1743 by using the correct daemon config file path of the current wallet. ACKs for top commit: edouardparis: ACK 7785cbad28c476154499c931aab3ec7cb6d99650 Tree-SHA512: 3e0f16d68cb7a67b4ce82295cb32fb230f7cb6ba4889f5c3aeb40f80cc2a0488e4d3bff0ea26a5b397ef0639b1e95c98a7779075dbfdc2cf49a224e8e1a1c51d
This commit is contained in:
commit
173ab23b8c
@ -401,7 +401,11 @@ impl App {
|
||||
let network = cfg.bitcoin_config.network;
|
||||
let daemon = EmbeddedDaemon::start(cfg)?;
|
||||
self.daemon = Arc::new(daemon);
|
||||
let mut daemon_config_path = datadir_path.network_directory(network).path().to_path_buf();
|
||||
let mut daemon_config_path = datadir_path
|
||||
.network_directory(network)
|
||||
.lianad_data_directory(&self.wallet.id())
|
||||
.path()
|
||||
.to_path_buf();
|
||||
daemon_config_path.push("daemon.toml");
|
||||
|
||||
let content =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user