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

Function encode

tests/fuzz/fuzz-wire-tx_add_input.c:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16static void *encode(const tal_t *ctx, const struct tx_add_input *s)
17{
18 return towire_tx_add_input(ctx, &s->channel_id, s->serial_id, s->prevtx,
19 s->prevtx_vout, s->sequence, NULL);
20}
21
22static struct tx_add_input *decode(const tal_t *ctx, const void *p)
23{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected