Expose Bech32Encode trait for fuzzing
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 9 Feb 2023 16:59:11 +0000 (10:59 -0600)
committerMatt Corallo <git@bluematt.me>
Thu, 23 Feb 2023 22:19:54 +0000 (22:19 +0000)
commit1772546b732b79c7fef6c7d76e5666fd52f6b856
treeae70795318e70f0bb6b0d253321502a2cc400ae4
parentad0421d957da1405c45f886c9f3c98b86b3cab3c
Expose Bech32Encode trait for fuzzing

In order to fuzz test Bech32Encode parsing independent of the underlying
message deserialization, the trait needs to be exposed. Conditionally
expose it only for fuzzing.
lightning/src/offers/parse.rs