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

Function encode

tests/fuzz/fuzz-wire-update_fail_malformed_htlc.c:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12};
13
14static void *encode(const tal_t *ctx,
15 const struct update_fail_malformed_htlc *s)
16{
17 return towire_update_fail_malformed_htlc(
18 ctx, &s->channel_id, s->id, &s->sha256_of_onion, s->failure_code);
19}
20
21static struct update_fail_malformed_htlc *decode(const tal_t *ctx,
22 const void *p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected