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

Function fromwire_struct_init

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

Source from the content-addressed store, hash-verified

746}
747
748static struct msg_init *fromwire_struct_init(const tal_t *ctx, const void *p)
749{
750 struct msg_init *s = tal(ctx, struct msg_init);
751
752 if (!fromwire_init(s, p,
753 &s->globalfeatures,
754 &s->localfeatures,
755 &s->tlvs))
756 return tal_free(s);
757
758 return s;
759}
760
761static bool channel_announcement_eq(const struct msg_channel_announcement *a,
762 const struct msg_channel_announcement *b)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected