From f091fb2a9188f686e5b1f9012c510a1b3c8ad840 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 30 Oct 2026 16:32:23 +0100 Subject: move transport config checks to respective modules --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 1908775..da79668 100644 --- a/src/main.rs +++ b/src/main.rs @@ -54,6 +54,14 @@ async fn main() -> Result<()> { if let Some(format) = logging::LogFormat::parse(&args.log_format) { logging::set_format(format); } + for (transport, built, options) in config.unused_transport_options() { + warn!( + transport, + built, + options = ?options, + "Options of a transport this node doesn't use are ignored" + ); + } if args.relay_only { return relay_only(args).await; } -- cgit v1.3.1