Provide a `static_value` TLV field serialization type
authorMatt Corallo <git@bluematt.me>
Thu, 20 Oct 2022 19:41:38 +0000 (19:41 +0000)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 5 Jan 2023 16:29:21 +0000 (11:29 -0500)
commitaf6fa143a1102aa54aa58399c12287ce482c8c09
tree8bbf1c1e6b401255a317f9a1e832389405e5250a
parent682bb9b0ae4df2cd3042316a9cb99811fbb8595c
Provide a `static_value` TLV field serialization type

This is useful in the type serialization definition macros to avoid
writing or reading a field at all, simply using a static value on
each reload.
lightning/src/util/ser_macros.rs