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

Function encode

tests/fuzz/fuzz-wire-closing_sig.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 closing_sig *s)
17{
18 return towire_closing_sig(ctx, &s->channel_id, s->closer_scriptpubkey,
19 s->closee_scriptpubkey, s->fee_satoshis, s->locktime, s->tlvs);
20}
21
22static struct closing_sig *decode(const tal_t *ctx, const void *p)
23{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected