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

Function encode

tests/fuzz/fuzz-wire-query_short_channel_ids.c:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12};
13
14static void *encode(const tal_t *ctx, const struct query_short_channel_ids *s)
15{
16 return towire_query_short_channel_ids(ctx, &s->chain_hash,
17 s->encoded_short_ids, s->tlvs);
18}
19
20static struct query_short_channel_ids *decode(const tal_t *ctx, const void *p)
21{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected