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

Function decode

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

Source from the content-addressed store, hash-verified

21}
22
23static struct tx_signatures *decode(const tal_t *ctx, const void *p)
24{
25 struct tx_signatures *s = tal(ctx, struct tx_signatures);
26
27 if (fromwire_tx_signatures(s, p, &s->channel_id, &s->txid,
28 &s->witnesses, &s->tlvs))
29 return s;
30 return tal_free(s);
31}
32
33static bool witnesses_equal(struct witness **x, struct witness **y)
34{

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected