Skip to content

Commit 6406191

Browse files
committed
Updated comment on finish_close_channel
1 parent 5b14d19 commit 6406191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4367,8 +4367,8 @@ where
43674367
}
43684368

43694369
/// 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,
4370+
/// (a) The close error must be converted to [`MsgHandleErrInternal`] in the same `per_peer_state` lock as the
4371+
/// channel-closing action.
43724372
/// (b) [`ChannelManager::handle_error`] needs to be called without holding any locks (except
43734373
/// [`ChannelManager::total_consistency_lock`]), which then calls this.
43744374
fn finish_close_channel(&self, mut shutdown_res: ShutdownResult) {

0 commit comments

Comments
 (0)