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

Function fromwire_struct_shutdown

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

Source from the content-addressed store, hash-verified

635}
636
637static struct msg_shutdown *fromwire_struct_shutdown(const tal_t *ctx, const void *p)
638{
639 struct msg_shutdown *s = tal(ctx, struct msg_shutdown);
640
641 if (!fromwire_shutdown(s, p,
642 &s->channel_id,
643 &s->scriptpubkey,
644 &s->tlvs))
645 return tal_free(s);
646 return s;
647}
648
649static void *towire_struct_funding_created(const tal_t *ctx,
650 const struct msg_funding_created *s)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected