]> git.bitcoin.ninja Git - rust-lightning/commit
onion_utils: add next_hop_packet_pubkey method
authorValentine Wallace <vwallace@protonmail.com>
Fri, 27 May 2022 00:36:32 +0000 (17:36 -0700)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 17 Jun 2022 22:36:10 +0000 (18:36 -0400)
commit7bd8f8cadb8eceb4d92ce4a211fa5a341ca97fff
tree9747c159b5408f5e4b98e48207d884c53f004a9d
parent8e5cf757717398bb8a3dd83dd751c8065ac5aebe
onion_utils: add next_hop_packet_pubkey method

To get the next hop's packet's pubkey. This will be used to DRY onion message
forwarding in the upcoming Onion Messages PR #1503
lightning/src/ln/channelmanager.rs
lightning/src/ln/onion_utils.rs