Skip to content

ChannelManager::force_close_channel does not fail on random channel_id #773

Closed
@sr-gi

Description

@sr-gi

ChannelManager::force_close_channel attempts to close any given channel_id, even if the latter is unknown by the manager.

This contrasts with ChannelManager::close_channel, where a errors::APIError::ChannelUnavailable will be raised.

Having the same interface regarding unknown channels by both methods feels like the way to go, so I think force_close_channel should be updated.

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