fix loader: remove duplicate logs with bitcoind module
This commit is contained in:
parent
a50761afc0
commit
eb10cdacd6
@ -69,6 +69,7 @@ pub fn stop_internal_bitcoind(bitcoind_config: &BitcoindConfig) {
|
||||
Ok(bitcoind) => {
|
||||
info!("Stopping internal bitcoind...");
|
||||
bitcoind.stop();
|
||||
info!("Stopped liana managed bitcoind");
|
||||
}
|
||||
Err(e) => {
|
||||
warn!("Could not create interface to internal bitcoind: '{}'.", e);
|
||||
|
||||
@ -188,9 +188,7 @@ impl Loader {
|
||||
Config::from_file(self.gui_config.daemon_config_path.as_ref().cloned())
|
||||
{
|
||||
if let Some(bitcoind_config) = &daemon_config.bitcoind_config {
|
||||
info!("Stopping liana managed bitcoind...");
|
||||
stop_internal_bitcoind(bitcoind_config);
|
||||
info!("Stopped liana managed bitcoind");
|
||||
} else {
|
||||
warn!("Liana daemon config does not have bitcoind config");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user