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

Function encode

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

Source from the content-addressed store, hash-verified

12};
13
14static void *encode(const tal_t *ctx, const struct fuzzsplice *s)
15{
16 return towire_splice(ctx, &s->channel_id,
17 s->relative_satoshis, s->funding_feerate_perkw,
18 s->locktime, &s->funding_pubkey);
19}
20
21static struct fuzzsplice *decode(const tal_t *ctx, const void *p)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected