projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2700 from Evanfeenstra/pub-htlc-routing
[rust-lightning]
/
lightning
/
src
/
sign
/
type_resolver.rs
diff --git
a/lightning/src/sign/type_resolver.rs
b/lightning/src/sign/type_resolver.rs
index 8b6e8091785663df18c5ac197eed3c679b2a15d5..f76650982c2b4f2ae8e4126975d56728b2e4e261 100644
(file)
--- a/
lightning/src/sign/type_resolver.rs
+++ b/
lightning/src/sign/type_resolver.rs
@@
-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)
}
}
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)
pub(crate) fn as_mut_ecdsa(&mut self) -> Option<&mut ECS> {
match self {
ChannelSignerType::Ecdsa(ecs) => Some(ecs)