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

Function encode

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

Source from the content-addressed store, hash-verified

13};
14
15static void *encode(const tal_t *ctx, const struct shutdown *s)
16{
17 return towire_shutdown(ctx, &s->channel_id, s->scriptpubkey, s->tlvs);
18}
19
20static struct shutdown *decode(const tal_t *ctx, const void *p)
21{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected