]> git.bitcoin.ninja Git - rust-lightning/commit
Allow `ChannelError` to specify the `ClosureReason`
authorMatt Corallo <git@bluematt.me>
Mon, 6 May 2024 00:02:09 +0000 (00:02 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 Jun 2024 15:12:28 +0000 (15:12 +0000)
commit93011c377c1b6c73a0e93f63669ecf95be18522c
tree77adbd1349b8f1d6cf3e2974f0779e8ec530f6d6
parent3e09d9937e67b4f34c033c313f527235a8428a67
Allow `ChannelError` to specify the `ClosureReason`

This will allow us to add more granular failure reasons when
returning the general `ChannelError::Close`.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs