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

Function encode

tests/fuzz/fuzz-wire-warning.c:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11};
12
13static void *encode(const tal_t *ctx, const struct warning *s)
14{
15 return towire_warning(ctx, &s->channel_id, s->data);
16}
17
18static struct warning *decode(const tal_t *ctx, const void *p)
19{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected