Skip to content

Commit

Permalink
Warn in case external daemon and internal bitcoind
Browse files Browse the repository at this point in the history
  • Loading branch information
jp1ac4 committed Aug 23, 2023
1 parent 6c8a14e commit 0c8e8b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::path::{Path, PathBuf};
use std::sync::Arc;

use iced::{Alignment, Command, Length, Subscription};
use tracing::{debug, info};
use tracing::{debug, info, warn};

use liana::{
config::{Config, ConfigError},
Expand Down Expand Up @@ -92,6 +92,9 @@ impl Loader {
daemon: daemon.clone(),
progress: 0.0,
};
if self.gui_config.internal_bitcoind_exe_config.is_some() {
warn!("Ignoring internal bitcoind config because Liana daemon is external.");
}
return Command::perform(sync(daemon, false), Message::Syncing);
}
Err(e) => match e {
Expand Down

0 comments on commit 0c8e8b7

Please sign in to comment.