Skip to content

Commit abc344a

Browse files
committed
Fix build warning about HTLCSource::dummy().
1 parent a94eb12 commit abc344a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ impl core::hash::Hash for HTLCSource {
317317
}
318318
}
319319
impl HTLCSource {
320-
#[cfg(not(feature = "grind_signatures"))]
320+
#[cfg(all(feature = "_test_vectors", not(feature = "grind_signatures")))]
321321
#[cfg(test)]
322322
pub fn dummy() -> Self {
323323
HTLCSource::OutboundRoute {

0 commit comments

Comments
 (0)