projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd962b
)
Fix build warning for unused method
author
Jeffrey Czyz
<jkczyz@gmail.com>
Fri, 29 Sep 2023 21:03:39 +0000
(14:03 -0700)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Fri, 29 Sep 2023 22:03:23 +0000
(15:03 -0700)
lightning/src/sign/type_resolver.rs
patch
|
blob
|
history
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)