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

Function encode

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected