]> git.bitcoin.ninja Git - rust-lightning/commit
Correctly fail back phantom node payments that don't match inbound payment data
authorValentine Wallace <vwallace@protonmail.com>
Wed, 23 Feb 2022 21:40:02 +0000 (16:40 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 24 Feb 2022 03:33:43 +0000 (22:33 -0500)
commita05d46525e880ec8125f74b6f4de464e5dfbb9eb
treee995cba327ae28c5e626bda682e11124aee03aea
parentedba328859469313e42f1d75e5be5eaa7d0fb543
Correctly fail back phantom node payments that don't match inbound payment data

Previously, we failed back these payments without encrypting with the second-to-last-hop's
failure onion layer.
lightning/src/ln/channelmanager.rs
lightning/src/ln/onion_route_tests.rs