Skip to content

Commit

Permalink
warn F3 is disabled in detach mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Jan 23, 2025
1 parent fcd4a64 commit 9d6abe9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/daemon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ pub(super) async fn start(
config: Config,
shutdown_send: mpsc::Sender<()>,
) -> anyhow::Result<()> {
if opts.detach {
tracing::warn!("F3 sidecar is diabled in detach mode");
std::env::set_var("FOREST_F3_SIDECAR_FFI_ENABLED", "0");
}

let chain_config = Arc::new(ChainConfig::from_chain(config.chain()));
if chain_config.is_testnet() {
CurrentNetwork::set_global(Network::Testnet);
Expand Down

0 comments on commit 9d6abe9

Please sign in to comment.