Describe the bug
In the case of a force close the lncli closedchannels output may contain a resolution for an outgoing HTLC (resolution_type: OUTGOING_HTLC). If the outcome is CLAIMED, this means that the peer received the funds. Only if the outcome is TIMEOUT, the own node has access to the funds. The bug is that the target address is marked as owned, although it belongs to the remote peer.
Describe the bug In the case of a force close the
lncli closedchannels
output may contain a resolution for an outgoing HTLC (resolution_type: OUTGOING_HTLC
). If the outcome is CLAIMED, this means that the peer received the funds. Only if the outcome is TIMEOUT, the own node has access to the funds. The bug is that the target address is marked as owned, although it belongs to the remote peer.To Reproduce
Import the file using
lnd-add-from-closed-channels
.Expected behavior The
OUTGOING_HTLC
destination address should not be marked as owned.