]> git.bitcoin.ninja Git - rust-lightning/commit
Drop non-matching custom TLVs when receiving MPP
authorAlec Chen <alecchendev@gmail.com>
Fri, 19 May 2023 20:37:47 +0000 (15:37 -0500)
committerAlec Chen <alecchendev@gmail.com>
Tue, 8 Aug 2023 21:16:43 +0000 (16:16 -0500)
commite84fb067aa0e48f5851cb491354cdcdc94d063c7
treea5e9baaa40404c4249d5ffe7365e699e4d6178f7
parent0a2dbdf2475b2ed8c7b8f53c17837f894ab2d802
Drop non-matching custom TLVs when receiving MPP

Upon receiving multiple payment parts with custom TLVs, we fail payments
if they have any non-matching or missing even TLVs, and otherwise just
drop non-matching TLVs if they're odd.
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs