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

Function fromwire_struct_error

wire/test/run-peer-wire.c:680–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680static struct msg_error *fromwire_struct_error(const tal_t *ctx, const void *p)
681{
682 struct msg_error *s = tal(ctx, struct msg_error);
683
684 if (!fromwire_error(s, p,
685 &s->channel_id,
686 &s->data))
687 return tal_free(s);
688 return s;
689}
690
691static void *towire_struct_update_add_htlc(const tal_t *ctx,
692 const struct msg_update_add_htlc *s)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected