| 317 | } |
| 318 | |
| 319 | static const struct tlv_field *first_unknown_field(const struct tlv_field *fields, |
| 320 | const struct tlv_field **end) |
| 321 | { |
| 322 | *end = fields + tal_count(fields); |
| 323 | return unknown_field(fields, *end); |
| 324 | } |
| 325 | |
| 326 | void towire_tlv(u8 **pptr, |
| 327 | const struct tlv_record_type *types, size_t num_types, |
no test coverage detected