We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b14d19 commit 6406191Copy full SHA for 6406191
lightning/src/ln/channelmanager.rs
@@ -4367,8 +4367,8 @@ where
4367
}
4368
4369
/// When a channel is removed, two things need to happen:
4370
- /// (a) [`ChannelManager::convert_channel_err`] must be called in the same `per_peer_state` lock as the
4371
- /// channel-closing action,
+ /// (a) The close error must be converted to [`MsgHandleErrInternal`] in the same `per_peer_state` lock as the
+ /// channel-closing action.
4372
/// (b) [`ChannelManager::handle_error`] needs to be called without holding any locks (except
4373
/// [`ChannelManager::total_consistency_lock`]), which then calls this.
4374
fn finish_close_channel(&self, mut shutdown_res: ShutdownResult) {
0 commit comments