Fix build warnings without grind_signatures
[rust-lightning] / lightning / src / ln / channelmanager.rs
index cfa2da06fd17bddb9167f14ec9b2efed6a51d7ff..7acd99e3eba491baca576de6e9282d2317907385 100644 (file)
@@ -498,6 +498,7 @@ impl core::hash::Hash for HTLCSource {
                }
        }
 }
+#[cfg(not(feature = "grind_signatures"))]
 #[cfg(test)]
 impl HTLCSource {
        pub fn dummy() -> Self {