Skip to content

Channel::is_pre_funded_state is used incorrectly in Channel::is_funding_broadcast #3880

Open
@TheBlueMatt

Description

@TheBlueMatt

Channel::is_pre_funded_state got updated to return true when there's an interactive signing session available, but that looks wrong in the context of is_funding_broadcast (the funding is definitely not broadcasted!) but also generally seems wrong (shouldn't we check the state of the interactive signing session before we assume its far enough along that we should generate a closing ChannelMonitorUpdate, as its used in the force-closure pipeline, or before deciding to keep the channel around on disconnect, as in remove_uncommitted_htlcs_and_mark_paused).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions