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

Function encode

tests/fuzz/fuzz-wire-revoke_and_ack.c:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12static void *encode(const tal_t *ctx, const struct revoke_and_ack *s)
13{
14 return towire_revoke_and_ack(ctx, &s->channel_id,
15 &s->per_commitment_secret,
16 &s->next_per_commitment_point);
17}
18
19static struct revoke_and_ack *decode(const tal_t *ctx, const void *p)
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected