eclair-mobile
eclair-mobile copied to clipboard
Do not automatically close a channel in Eclair app when expired HTLC is present
Eclair app is a special case of LN node in a sense that it never routes third party payments so in case when expired outgoing HTLC payments are present it may not close a channel automatically because an expired HTLC is guaranteed to be locally initiated, so there is no risk of waiting and losing money downstream.
Instead of closing a channel right away an app may show a warning and recommendation to contact a faulty peer owner to resolve this without closing a channel. The benefit of this approach is that it saves time and money and makes app behavior more predictable: currently, when sending each payment an expirienced user knows there is a risk of channel closing because of that payment getting stuck which is quite terrible UX wise.