Give us a self when reading a custom onion message
authorMatt Corallo <git@bluematt.me>
Wed, 26 Oct 2022 19:23:10 +0000 (19:23 +0000)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 27 Oct 2022 19:58:33 +0000 (15:58 -0400)
commit150c87a089fedb69510498f28d5181eca1562d49
treeb034286007f29e162f555ca36303c463c9781498
parent2e343e78ca0265196a33467c5d77a5c14a5507d1
Give us a self when reading a custom onion message

+ remove MaybeReadableArgs trait as it is now unused
+ remove onion_utils::DecodeInput as it would've now needed to be parameterized
by the CustomOnionMessageHandler trait, and we'd like to avoid either
implementing DecodeInput in messenger or having onion_utils depend on
onion_message::*

Co-authored-by: Matt Corallo <git@bluematt.me>
Co-authored-by: Valentine Wallace <vwallace@protonmail.com>
fuzz/src/onion_message.rs
lightning/src/ln/onion_utils.rs
lightning/src/ln/peer_handler.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/packet.rs
lightning/src/util/ser.rs