]> git.bitcoin.ninja Git - rust-lightning/commit
Convert handle_onion_message_response to a public function and add test coverage
authorshaavan <shaavan.github@gmail.com>
Mon, 15 Apr 2024 09:52:25 +0000 (15:22 +0530)
committershaavan <shaavan.github@gmail.com>
Thu, 30 May 2024 07:06:24 +0000 (12:36 +0530)
commitca5b6b51d16662d968bb7b49a28ae5c65ed8493f
treed0f86f83eff729ad23933aba1bf48e448cb71c6e
parentdf0120809f3453aa4cfc6ca4d34bbedcc823928d
Convert handle_onion_message_response to a public function and add test coverage

This commit modifies handle_onion_message_response to be accessible
publicly as handle_onion_message, enabling users to respond
asynchronously. Additionally, a new test is introduced to validate this
functionality.
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs