lightningnetwork / lightning-onion

Onion Routed Micropayments for the Lightning Network
MIT License
396 stars 125 forks source link

Insuffcient capacity and HTLC #34

Closed yehen closed 5 years ago

yehen commented 5 years ago

If there is a topology, say, A-B-C, and A want to send a transaction to C via this route. However, the channel from B to C does not have sufficient capacity, from the wiki, we know that there will be a temporary_channel_failure error msg responsed.

Then the question is: Will the HTLC contract between A and B be cancelled before the timeout of this HTLC?

Roasbeef commented 5 years ago

Yes, they'll cancel it back.