]> git.bitcoin.ninja Git - rust-lightning/commit
Create an `AOnionMessenger` trait similar to our other `AStruct`s
authorMatt Corallo <git@bluematt.me>
Fri, 10 May 2024 20:39:53 +0000 (20:39 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 10 May 2024 21:29:50 +0000 (21:29 +0000)
commit20f2dab5c0c7d72d1d9835edf3a043b755b05af8
tree8e02a2fdfc3d2e644dff248f3050c9d3039ea65d
parent0ffa4b3579522c411be925203f192e26b0dd665e
Create an `AOnionMessenger` trait similar to our other `AStruct`s

This allows us to have a bound on any `OnionMessenger` without
having to create bounds for every bound in `OnionMessenger`.
lightning/src/onion_message/messenger.rs