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

Function decode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected