]> git.bitcoin.ninja Git - rust-lightning/commit
Use `ChannelError::close` constructor when building a close variant
authorMatt Corallo <git@bluematt.me>
Sun, 5 May 2024 23:52:08 +0000 (23:52 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 Jun 2024 15:12:27 +0000 (15:12 +0000)
commit3e09d9937e67b4f34c033c313f527235a8428a67
tree1eee0ac24493eab72f0ce9fd0fdda810aa0d31f1
parent73bc0f61b912ab0617c77192328faedc4abf1502
Use `ChannelError::close` constructor when building a close variant

In the next commit we'll add a second field to
`ChannelError::Close` so here we prep by converting existing calls
to the constructor function, which is almost a full-file sed.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs