diff --git a/applications/tari_base_node/src/main.rs b/applications/tari_base_node/src/main.rs index ef282c96a5..974db14742 100644 --- a/applications/tari_base_node/src/main.rs +++ b/applications/tari_base_node/src/main.rs @@ -130,7 +130,10 @@ fn main_inner() -> Result<(), ExitError> { consts::APP_VERSION ); + #[cfg(all(unix, feature = "libtor"))] let mut config = ApplicationConfig::load_from(&cfg)?; + #[cfg(not(all(unix, feature = "libtor")))] + let config = ApplicationConfig::load_from(&cfg)?; debug!(target: LOG_TARGET, "Using base node configuration: {:?}", config); // Load or create the Node identity