]> git.bitcoin.ninja Git - rust-lightning/commit
Add phantom shared secret to HTLCPreviousHopData
authorValentine Wallace <vwallace@protonmail.com>
Fri, 25 Feb 2022 03:14:02 +0000 (22:14 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 25 Feb 2022 03:32:14 +0000 (22:32 -0500)
commitf1aba795217496db6b7e2418fb2edcbc35b71ad2
treed7620bb444d25f3f0f448eaa1eb82e487c43b138
parentbafd141d2c10f10cfe824fdf673d6683a420db7d
Add phantom shared secret to HTLCPreviousHopData

This also fixes a bug where we were failing back phantom payments with the
wrong scid, causing them to never actually be failed backwards (L3022 in
channelmanager.rs)

This new field will be used in upcoming commit(s) to encrypt phantom payment failure
packets.
lightning/src/ln/channelmanager.rs