From 9bf345d002db155d3441c8c146c09279042a4e78 Mon Sep 17 00:00:00 2001 From: Liu-Cheng Xu Date: Sat, 6 Jul 2024 23:29:10 +0800 Subject: [PATCH] Fix clippy --- crates/subcoin-service/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/subcoin-service/src/lib.rs b/crates/subcoin-service/src/lib.rs index 92621a47..240e53f9 100644 --- a/crates/subcoin-service/src/lib.rs +++ b/crates/subcoin-service/src/lib.rs @@ -208,7 +208,7 @@ pub fn new_node(config: SubcoinConfiguration) -> Result Result( - &config, + config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor.clone(), backend, @@ -260,7 +260,7 @@ pub fn new_node(config: SubcoinConfiguration) -> Result