]> git.bitcoin.ninja Git - rust-lightning/commit
Remove unreachable warning message send on UnknownRequiredFeature read
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 18 May 2023 19:02:24 +0000 (12:02 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 26 May 2023 21:40:17 +0000 (14:40 -0700)
commit6d4f105536ecd82ef030c7778d4dd2a85fef8483
treea44943ea80beb2a1cb57e36e0e5edd00543e621e
parent55a7a03248cbd1a1b952c37ea7722a711b24403e
Remove unreachable warning message send on UnknownRequiredFeature read

`enqueue_message` simply adds the message to the outbound queue, it
still needs to be written to the socket with `do_attempt_write_data`.
However, since we immediately return an error causing the socket to be
closed, the message never actually gets sent.
lightning/src/ln/peer_handler.rs