Skip to content

Commit baf8acf

Browse files
add LSPS5 arm to TryFrom conversion for LSPS0Message
- Extend the match in TryFrom<LSPSMessage> to handle LSPSMessage::LSPS5 and explicitly return an error.
1 parent c07fb00 commit baf8acf

File tree

1 file changed

+1
-0
lines changed
  • lightning-liquidity/src/lsps0

1 file changed

+1
-0
lines changed

lightning-liquidity/src/lsps0/msgs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ impl TryFrom<LSPSMessage> for LSPS0Message {
8383
LSPSMessage::LSPS0(message) => Ok(message),
8484
LSPSMessage::LSPS1(_) => Err(()),
8585
LSPSMessage::LSPS2(_) => Err(()),
86+
LSPSMessage::LSPS5(_) => Err(()),
8687
}
8788
}
8889
}

0 commit comments

Comments
 (0)