Skip to content

Calling update_witnesses in a lightning wallet may disrupt channel operations #292

@St333p

Description

@St333p

A LN node needs to call update_witnesses from time to time, for instance to handle force closures (i.e. broadcasting a commitment TX) or blockchain reorgs. If one of such calls happens while an HTLC payment is happening, it may make it fail. This happens because commitment transactions are all set to Archived, making it impossible for the RGB wallet to spend their allocation in the corresponding HTLC TX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions