rust-lightning/lightning/src/ln
Matt Corallo 7f24e833fb Fix reachable unwrap on non-channel_type manual channel acceptance
If we receive an `OpenChannel` message without a `channel_type`
with `manually_accept_inbound_channels` set, we will `unwrap()`
`None`.

This is uncommon these days as most nodes support `channel_type`,
but sadly is rather trivial for a peer to hit for those with manual
channel acceptance enabled.

Reported in and fixes #2804. Luckily, the updated
`full_stack_target` has no issue reaching this issue quickly.
2024-01-08 18:20:17 +00:00
..
async_signer_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
blinded_payment_tests.rs Fail blinded received HTLCs if they violate PaymentConstraints 2023-12-12 18:38:59 -05:00
chan_utils.rs Fix REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH for contest delays >0x7fff 2023-12-29 06:24:18 +00:00
chanmon_update_fail_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
channel.rs Fix reachable unwrap on non-channel_type manual channel acceptance 2024-01-08 18:20:17 +00:00
channel_id.rs Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00
channel_keys.rs Implement struct wrappers for channel key types to avoid confusion. 2023-11-27 17:52:12 +00:00
channelmanager.rs Fix reachable unwrap on non-channel_type manual channel acceptance 2024-01-08 18:20:17 +00:00
features.rs Fix Feature eq + hash to ignore excess zero bytes 2023-12-24 17:34:11 +00:00
functional_test_utils.rs Merge pull request #2795 from TheBlueMatt/2023-11-robuster-chan-to-peer 2023-12-15 15:36:52 -08:00
functional_tests.rs Merge pull request #2795 from TheBlueMatt/2023-11-robuster-chan-to-peer 2023-12-15 15:36:52 -08:00
inbound_payment.rs Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00
mod.rs cfg-gate async signing logic 2023-12-13 22:58:34 +00:00
monitor_tests.rs Refactor commitment broadcast to always go through OnchainTxHandler 2023-12-11 16:44:55 -08:00
msgs.rs Make FinalOnionHopData public 2023-12-15 22:31:51 +00:00
onion_payment.rs Merge pull request #2688 from valentinewallace/2023-10-multihop-blinded-recv 2023-12-13 10:31:02 -05:00
onion_route_tests.rs Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00
onion_utils.rs Merge pull request #2688 from valentinewallace/2023-10-multihop-blinded-recv 2023-12-13 10:31:02 -05:00
outbound_payment.rs Merge pull request #2741 from shaavan/issue-2215 2023-11-27 13:13:08 +01:00
payment_tests.rs Merge pull request #2703 from wpaulino/retryable-commitment-broadcast 2023-12-13 05:15:54 +00:00
peer_channel_encryptor.rs Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00
peer_handler.rs Bump MSRV to rustc 1.63.0 and edition to 2021 2023-12-08 14:03:45 +01:00
priv_short_conf_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
reload_tests.rs Refactor commitment broadcast to always go through OnchainTxHandler 2023-12-11 16:44:55 -08:00
reorg_tests.rs Add test coverage for holder commitment rebroadcast after reorg 2023-12-11 16:44:56 -08:00
script.rs Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00
shutdown_tests.rs Move pre-funded-channel immediate shutdown logic to the right place 2023-12-08 02:26:00 +00:00
wire.rs Add Splicing (and Quiescence) wire message definitions 2023-11-07 12:13:58 +01:00