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

Function decode

tests/fuzz/fuzz-wire-reply_channel_range.c:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static struct reply_channel_range *decode(const tal_t *ctx, const void *p)
26{
27 struct reply_channel_range *s = tal(ctx, struct reply_channel_range);
28
29 if (fromwire_reply_channel_range(
30 s, p, &s->chain_hash, &s->first_blocknum, &s->number_of_blocks,
31 &s->sync_complete, &s->encoded_short_ids, &s->tlvs))
32 return s;
33 return tal_free(s);
34}
35
36static bool timestamps_tlv_equal(
37 const struct tlv_reply_channel_range_tlvs_timestamps_tlv *x,

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected