]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove outdated comment.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 13 Dec 2023 19:23:23 +0000 (14:23 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 10 Jan 2024 16:23:44 +0000 (11:23 -0500)
lightning/src/ln/channel.rs

index 549ecbc70ea82e9ce12e80ec973b6bbbe60963f4..dbd60c0f891f1df70b121aacaa65be05d2cda857 100644 (file)
@@ -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,