Expose `parse_onion_address` publicly in `no-std` 2023-09-expose-onion-parse
authorMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 18:05:10 +0000 (18:05 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 18:06:38 +0000 (18:06 +0000)
commit327142894dc51200255af73721fd58a8187c6021
tree526f4cba803b4cb143ffcd64bbc1dea62525ef04
parent20f287f4392e7bdb5e83793d4024f4dc5a29ce58
Expose `parse_onion_address` publicly in `no-std`

The reason for having a separate `parse_onion_address` from
`FromStr` is to have an onion parsing function in `no-std`, but
when we added it we forgot to make it public. We do this here, as
well as fix a few compilation warnings in `no-std`.
lightning/src/ln/msgs.rs