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

Function decode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected