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

Function decode

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

Source from the content-addressed store, hash-verified

20}
21
22static struct tx_init_rbf *decode(const tal_t *ctx, const void *p)
23{
24 struct tx_init_rbf *s = tal(ctx, struct tx_init_rbf);
25
26 if (fromwire_tx_init_rbf(s, p, &s->channel_id, &s->locktime,
27 &s->feerate, &s->tlvs))
28 return s;
29 return tal_free(s);
30}
31
32static bool equal(const struct tx_init_rbf *x, const struct tx_init_rbf *y)
33{

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected