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

Function encode

tests/fuzz/fuzz-wire-commitment_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 commitment_signed *s)
17{
18 return towire_commitment_signed(ctx, &s->channel_id, &s->signature,
19 s->htlc_signature, s->tlvs);
20}
21
22static struct commitment_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