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

Function encode

tests/fuzz/fuzz-wire-funding_created.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 funding_created *s)
15{
16 return towire_funding_created(ctx, &s->temporary_channel_id,
17 &s->funding_txid, s->funding_output_index,
18 &s->signature);
19}
20
21static struct funding_created *decode(const tal_t *ctx, const void *p)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected