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

Function decode

tests/fuzz/fuzz-wire-tx_ack_rbf.c:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19static struct tx_ack_rbf *decode(const tal_t *ctx, const void *p)
20{
21 struct tx_ack_rbf *s = tal(ctx, struct tx_ack_rbf);
22
23 if (fromwire_tx_ack_rbf(s, p, &s->channel_id, &s->tlvs))
24 return s;
25 return tal_free(s);
26}
27
28static bool equal(const struct tx_ack_rbf *x, const struct tx_ack_rbf *y)
29{

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected