projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Construct ShutdownResult as a struct in Channel
[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..73d2cceb3e85f9d84bf2404d7d9cbbfc204598d0 100644
(file)
--- a/
lightning/src/sign/type_resolver.rs
+++ b/
lightning/src/sign/type_resolver.rs
@@
-24,6
+24,7
@@
impl<ECS: EcdsaChannelSigner> ChannelSignerType<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)