From 5f58f8d127d0b12cb02f4a96d4637394c8e692e9 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Fri, 29 Sep 2023 14:03:39 -0700 Subject: [PATCH] Fix build warning for unused method --- lightning/src/sign/type_resolver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/sign/type_resolver.rs b/lightning/src/sign/type_resolver.rs index 8b6e80917..73d2cceb3 100644 --- a/lightning/src/sign/type_resolver.rs +++ b/lightning/src/sign/type_resolver.rs @@ -24,6 +24,7 @@ impl ChannelSignerType{ } } + #[allow(unused)] pub(crate) fn as_mut_ecdsa(&mut self) -> Option<&mut ECS> { match self { ChannelSignerType::Ecdsa(ecs) => Some(ecs) -- 2.39.5