mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-26 07:32:48 +01:00
When we read a `Route` (or a list of `RouteHop`s), we should never have zero paths or zero `RouteHop`s in a path. As such, its fine to simply reject these at deserialization-time. Technically this could lead to something which we can generate not round-trip'ing serialization, but that seems okay here. |
||
---|---|---|
.. | ||
chain | ||
ln | ||
offers | ||
onion_message | ||
routing | ||
sync | ||
util | ||
lib.rs |