Skip to content

Remove direct calls to handle_monitor_update_completion! - #3947

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
TheBlueMatt:2025-07-simplify-mon-completion
Jul 23, 2025
Merged

tnull merged 1 commit into
lightningdevkit:mainfrom
TheBlueMatt:2025-07-simplify-mon-completion

Conversation

@TheBlueMatt

Copy link
Copy Markdown
Collaborator

handle_monitor_update_completion! (and
handle_monitor_update_completion_actions) are a pretty annoying API as they have several preconditions. Luckily, we already have channel_monitor_update which does the right work, handling both the open- and closed- channel cases and correctly checking the preconditions to handle_monitor_update_completion!, so here we convert calls to handle_monitor_update_completion! (aside from handle_new_monitor_update!) to just calling
channelMonitor_update.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants