Skip to content

Commit

Permalink
Remove outdated comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Jan 10, 2024
1 parent 95b3ef4 commit c1fbb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,7 @@ impl FailHTLCContents for msgs::OnionErrorPacket {
}
}
impl FailHTLCContents for ([u8; 32], u16) {
type Message = msgs::UpdateFailMalformedHTLC; // (failure_code, sha256_of_onion)
type Message = msgs::UpdateFailMalformedHTLC;
fn to_message(self, htlc_id: u64, channel_id: ChannelId) -> Self::Message {
msgs::UpdateFailMalformedHTLC {
htlc_id,
Expand Down

0 comments on commit c1fbb90

Please sign in to comment.