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

Function decode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected