Break ClosureReason::CommitmentTxConfirmed
Up Somewhat
#1488
Labels
good first issue
Good for newcomers
Milestone
If an HTLC times out and we close a channel from the ChannelMonitor, we currently mark the
ClosureReason
asCommitmentTxConfirmed
, even though the commitment tx has not yet confirmed, not to mention it was us who closed the channel! From a cursory glance, the fix is trivial - just interpret (and maybe rename)MonitorEvent::CommitmentTxConfirmed
to mean "we force-closed" and then we can think about adding more detail, but I think its literally always due to HTLC timeouts.The text was updated successfully, but these errors were encountered: