]> git.bitcoin.ninja Git - rust-lightning/commit
Do not check the ordering of HTLCs in `PaymentClaim[able,ed]`
authorMatt Corallo <git@bluematt.me>
Sun, 8 Sep 2024 16:09:12 +0000 (16:09 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 23 Sep 2024 01:24:28 +0000 (01:24 +0000)
commit803366a41a8808a1221ec687cb8f56145537b4fe
treeb2342e5da4aab2a10f9be8019753bbfa5a3c2695
parentcdd1298a38a71eb24b2e1fe719212f645aea5bf0
Do not check the ordering of HTLCs in `PaymentClaim[able,ed]`

In the next commit we'll change the order of HTLCs in
`PaymentClaim[able,ed]` events. This shouldn't break anything, but
our current functional tests check that the HTLCs are provided in
the order they expect (the order they were received). Instead, here
we only validate that each claimed HTLC matches one expected path.
lightning/src/ln/functional_test_utils.rs