Unclear HTLC scenario



Summary:

In a question posted to the mailing list, Ben asked about how update_fail_htlcs are handled in a scenario where a node forwards an HTLC along a channel that does not have enough funds to support a payment of that size. He was confused by a line in BOLT #2 which stated that until the corresponding HTLC is irrevocably committed in both sides' commitment transactions, nodes must not send an update_fulfill_htlc, update_fail_htlc, or update_fail_malformed_htlc. Ben wondered if this meant that even though the channel cannot support the payment, the nodes still need to commit to it. He assumed that this interpretation was not correct and asked for clarification on when it's okay for a node to send an update_fail_htlc.


Updated on: 2023-06-03T11:16:48.374577+00:00