MCPcopy Create free account
hub / github.com/ElementsProject/lightning / tlv_field_cmp

Function tlv_field_cmp

wire/tlvstream.c:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15const u64 *FROMWIRE_TLV_ANY_TYPE = &dummy;
16
17static int tlv_field_cmp(const struct tlv_field *a, const struct tlv_field *b,
18 void *x)
19{
20 return a->numtype > b->numtype ? 1 : -1;
21}
22
23void towire_tlvstream_raw(u8 **pptr, struct tlv_field *fields)
24{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected