projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a56d87
)
Fix build warning about HTLCSource::dummy().
author
Arik Sosman
<git@arik.io>
Sat, 24 Jun 2023 05:34:14 +0000
(22:34 -0700)
committer
Arik Sosman
<git@arik.io>
Sat, 24 Jun 2023 17:52:27 +0000
(10:52 -0700)
lightning/src/ln/channelmanager.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channelmanager.rs
b/lightning/src/ln/channelmanager.rs
index a03f11d57443f340713909cac761e057d7637ead..5dacda7155f67f086be96a3aaa3d9a2b97cfad56 100644
(file)
--- a/
lightning/src/ln/channelmanager.rs
+++ b/
lightning/src/ln/channelmanager.rs
@@
-317,7
+317,7
@@
impl core::hash::Hash for HTLCSource {
}
}
impl HTLCSource {
- #[cfg(
not(feature = "grind_signatures"
))]
+ #[cfg(
all(feature = "_test_vectors", not(feature = "grind_signatures")
))]
#[cfg(test)]
pub fn dummy() -> Self {
HTLCSource::OutboundRoute {