]> git.bitcoin.ninja Git - rust-lightning/commit
Add peel_onion_message method to OnionMessenger
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 1 Nov 2023 18:12:44 +0000 (13:12 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 16 Jan 2024 02:12:36 +0000 (20:12 -0600)
commitec8c6fb2a922a36e9a9a28066160d4f3a096a06b
treefee0a4f4fa3c05e454618277642966bc43023df2
parentea5de93dd9e646124c13fd5c3da4150d3b9eb9f7
Add peel_onion_message method to OnionMessenger

When testing OnionMessenger in functional tests, it would be useful to
examine the contents of an OnionMessage response. Expose the standalone
peel_onion_message on OnionMessenger to facilitate this.
lightning/src/onion_message/messenger.rs