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

Function encode

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

Source from the content-addressed store, hash-verified

18};
19
20static void *encode(const tal_t *ctx, const struct channel_reestablish *s)
21{
22 return towire_channel_reestablish(
23 ctx, &s->channel_id, s->next_commitment_number,
24 s->next_revocation_number, &s->your_last_per_commitment_secret,
25 &s->my_current_per_commitment_point, s->tlvs);
26}
27
28static struct channel_reestablish *decode(const tal_t *ctx, const void *p)
29{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected