Skip to content

Commit

Permalink
Make read_dlc_message public
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Nov 27, 2023
1 parent 4f48968 commit e335e35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dlc-messages/src/message_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ macro_rules! handle_read_dlc_messages {
}};
}

fn read_dlc_message<R: ::lightning::io::Read>(
/// Parses a DLC message from a buffer.
pub fn read_dlc_message<R: ::lightning::io::Read>(
msg_type: u16,
mut buffer: &mut R,
) -> Result<Option<WireMessage>, DecodeError> {
Expand Down

0 comments on commit e335e35

Please sign in to comment.