]> git.bitcoin.ninja Git - rust-lightning/commit
Do not fail-backwards LocalAnnounced HTLCs upon force-close.
authorMatt Corallo <git@bluematt.me>
Fri, 14 Sep 2018 17:35:56 +0000 (13:35 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 14 Sep 2018 19:27:53 +0000 (15:27 -0400)
commit5ef88cea34b9cf90fa5198b2ff4347e66e49a927
tree11dd2fd4cf55c96d3cca042508d9c951c71f9d2a
parenta55355e64145a45ae3bdc6784c0bfd0095ba3d7f
Do not fail-backwards LocalAnnounced HTLCs upon force-close.

This is completely unsafe as we have provided the remote side with
a commitment_signed which they can broadcast, including the HTLC
transaction, and then could claim it on-chain after we've failed it
backwards!
src/ln/channel.rs