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

Function encode

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

Source from the content-addressed store, hash-verified

13};
14
15static void *encode(const tal_t *ctx, const struct tx_add_output *s)
16{
17 return towire_tx_add_output(ctx, &s->channel_id, s->serial_id, s->sats,
18 s->script);
19}
20
21static struct tx_add_output *decode(const tal_t *ctx, const void *p)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected