Olaoluwa Osuntokun 66cf4396a2
tlv: modify RecordT type to ensure type param takes precedence
In this commit, we modify the RecordT type to allow callers to re-use
the Record definition of a different type, but use the new type param to
override the integer type used on the wire.

This will let use do things like encode a signature using the same
RecordProducer instance, but with a diff type in another context.

The upcoming use for this is allowing our `lnwire.Sig` type to be
encoded in the same message using distinct TLV integer types (new co-op
close protocol).
2024-01-02 18:51:30 -08:00
..
2023-10-16 14:21:25 +01:00
2023-12-12 17:47:10 -08:00
2023-12-12 17:47:10 -08:00
2023-10-16 14:21:25 +01:00
2023-11-13 11:30:17 -06:00
2023-10-16 14:21:25 +01:00
2023-11-13 11:30:17 -06:00