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

Function encode

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

Source from the content-addressed store, hash-verified

10};
11
12static void *encode(const tal_t *ctx, const struct stfu *s)
13{
14 return towire_stfu(ctx, &s->channel_id, s->initiator);
15}
16
17static struct stfu *decode(const tal_t *ctx, const void *p)
18{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected