]> git.bitcoin.ninja Git - rust-lightning/commit
Fix multi-remote-HTLC-claim preimage learning 2019-01-multi-htlc-claims
authorMatt Corallo <git@bluematt.me>
Sun, 6 Jan 2019 20:14:43 +0000 (15:14 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 9 Jan 2019 03:47:23 +0000 (22:47 -0500)
commitc9df4bd0118797ad555023fac88a9a4019580a12
tree240a05d4e8786f65b76f44ac8d6ed46562b9bb21
parenta5bcd5651d92fab7275ab97fe99eb2d11661918c
Fix multi-remote-HTLC-claim preimage learning

When our counterparty claims multiple HTLCs from offered outputs in
one transaction we should still be able to learn the preimages.
Sadly, due to two bugs we were not previously doing so.
src/ln/channelmonitor.rs
src/ln/functional_tests.rs