]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix spelling in comment 2024-06-message-flags
authorMatt Corallo <git@bluematt.me>
Tue, 2 Jul 2024 22:17:02 +0000 (22:17 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Jul 2024 22:18:17 +0000 (22:18 +0000)
From @valentinewallace at
https://github.com/lightningdevkit/rust-lightning/pull/3144#discussion_r1661404243

lightning/src/ln/msgs.rs

index 8f389d07cefc9b59cb314b58a597ac75d23aa199..e7b43ded11d3ee5bb19b6014cfbc9aa5a1deaf6d 100644 (file)
@@ -2902,7 +2902,7 @@ impl Writeable for UnsignedChannelUpdate {
                self.chain_hash.write(w)?;
                self.short_channel_id.write(w)?;
                self.timestamp.write(w)?;
-               // Thw low bit of message_flags used to indicate the presence of `htlc_maximum_msat`, and
+               // The low bit of message_flags used to indicate the presence of `htlc_maximum_msat`, and
                // now must be set
                (self.message_flags | 1).write(w)?;
                self.channel_flags.write(w)?;