Ensure we wipe pending un-accepted channel requests on err/discon.
authorMatt Corallo <git@bluematt.me>
Tue, 15 Aug 2023 22:22:45 +0000 (22:22 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 15 Aug 2023 22:22:45 +0000 (22:22 +0000)
commite0255c0fff4cabeb0fc3746b6681c524217cb7a1
treefe1ac1756688dd6a1fee2f6889e7472f894e91f7
parentfe0f845582ae707ac523edc6e4b9cab64cb4306a
Ensure we wipe pending un-accepted channel requests on err/discon.

If we have a pending inbound un-accepted channel but receive an
error message for it from our peer, or our peer disconnects, we
should remove the pending entry, ensuring any attempts to accept
it fail.
lightning/src/ln/channelmanager.rs