mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
Fix build warning about HTLCSource::dummy().
This commit is contained in:
parent
4a56d87ef9
commit
a6578c1159
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue