From: Jeffrey Czyz Date: Fri, 29 Sep 2023 21:03:39 +0000 (-0700) Subject: Fix build warning for unused method X-Git-Tag: v0.0.117-rc1~3^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5f58f8d127d0b12cb02f4a96d4637394c8e692e9;p=rust-lightning Fix build warning for unused method --- 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)