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

Function decode

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

Source from the content-addressed store, hash-verified

14}
15
16static struct funding_signed *decode(const tal_t *ctx, const void *p)
17{
18 struct funding_signed *s = tal(ctx, struct funding_signed);
19
20 if (fromwire_funding_signed(p, &s->channel_id, &s->signature))
21 return s;
22 return tal_free(s);
23}
24
25static bool equal(const struct funding_signed *x,
26 const struct funding_signed *y)

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected