Add additional TLV serialization type of (default_value, N)
authorMatt Corallo <git@bluematt.me>
Fri, 16 Jul 2021 18:10:37 +0000 (18:10 +0000)
committerAntoine Riard <dev@ariard.me>
Thu, 5 Aug 2021 16:34:06 +0000 (12:34 -0400)
commit01bdc15fe61d7df625f7b9bf1a0996ef4e3c433d
treea4c61fff996c31bee14a88029661b46bbe6f1bac
parent69ee4860848d5992b238eca3343141004d9d1572
Add additional TLV serialization type of (default_value, N)

This allows TLV serialization macros to read non-Option-wrapped
types but allow them to be missing, filling them in with the
provided default value as needed.
lightning/src/util/ser_macros.rs