rust-lightning/lightning
Matt Corallo 2a4259566e Enable removal of OnionPayload::Invoice::_legacy_hop_data later
In fc77c57c3c we stopped using the
`FinalOnionHopData` in `OnionPayload::Invoice` directly and renamed
it `_legacy_hop_data` with the intent of removing it in a few
versions. However, we continue to check that it was included in the
serialized data, meaning we would not be able to remove it without
breaking ability to serialize full `ChannelManager`s.

This fixes that by making the `_legacy_hop_data` an `Option` which
we will happily handle just fine if its `None`.
2022-05-19 18:16:53 +00:00
..
src Enable removal of OnionPayload::Invoice::_legacy_hop_data later 2022-05-19 18:16:53 +00:00
Cargo.toml bitcoin crate 0.28.1 2022-05-05 18:04:42 +02:00