mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-27 00:06:34 +01:00
The new `create_onion_message` function in `OnionMessenger` is hard to handle - it has various generic requirements indirectly via the struct, but they're not bounded by any of the method parameters. Thus, you can't simply call `OnionMessenger::create_onion_message`, as various bounds are not specified. Instead, we move it to a freestanding function so that it can be called directly without explicitly setting bounds. |
||
---|---|---|
.. | ||
blinded_path | ||
chain | ||
events | ||
ln | ||
offers | ||
onion_message | ||
routing | ||
sign | ||
sync | ||
util | ||
lib.rs |