X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Fsign%2Ftype_resolver.rs;h=f76650982c2b4f2ae8e4126975d56728b2e4e261;hb=870a0f14bab32d21c7652773b5d9a37f8e59cd5e;hp=8b6e8091785663df18c5ac197eed3c679b2a15d5;hpb=d9eb201bd8da97e9f249c793abeb9cbdb00f4744;p=rust-lightning diff --git a/lightning/src/sign/type_resolver.rs b/lightning/src/sign/type_resolver.rs index 8b6e8091..f7665098 100644 --- a/lightning/src/sign/type_resolver.rs +++ b/lightning/src/sign/type_resolver.rs @@ -18,12 +18,14 @@ impl ChannelSignerType{ } } + #[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)