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

Function encode

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

Source from the content-addressed store, hash-verified

10};
11
12static void *encode(const tal_t *ctx, const struct update_fulfill_htlc *s)
13{
14 return towire_update_fulfill_htlc(ctx, &s->channel_id, s->id,
15 &s->payment_preimage);
16}
17
18static struct update_fulfill_htlc *decode(const tal_t *ctx, const void *p)
19{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected