Introduce TaprootSigner trait.
[rust-lightning] / lightning / src / sign / type_resolver.rs
index 8b6e8091785663df18c5ac197eed3c679b2a15d5..f76650982c2b4f2ae8e4126975d56728b2e4e261 100644 (file)
@@ -18,12 +18,14 @@ impl<ECS: EcdsaChannelSigner> ChannelSignerType<ECS>{
                }
        }
 
+       #[allow(unused)]
        pub(crate) fn as_ecdsa(&self) -> Option<&ECS> {
                match self {
                        ChannelSignerType::Ecdsa(ecs) => Some(ecs)
                }
        }
 
+       #[allow(unused)]
        pub(crate) fn as_mut_ecdsa(&mut self) -> Option<&mut ECS> {
                match self {
                        ChannelSignerType::Ecdsa(ecs) => Some(ecs)