Skip to content

Remove panic when inbound peer sends OpenChannelRequest with no type specified and node is manually accepting requests #2804

Closed
@domZippilli

Description

@domZippilli

This bit right here causes a panic if a correctly-formed message is sent to an LDK node that is manually accepting channel open requests:

https://github.com/lightningdevkit/rust-lightning/blob/15b7f667b05b09a25af8ab2791ea4f0752fcc2ab/lightning/src/ln/channelmanager.rs#L6184C2-L6184C2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions