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

Function fromwire_struct_closing_signed

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

Source from the content-addressed store, hash-verified

612}
613
614static struct msg_closing_signed *fromwire_struct_closing_signed(const tal_t *ctx, const void *p)
615{
616 struct msg_closing_signed *s = tal(ctx, struct msg_closing_signed);
617 struct tlv_closing_signed_tlvs *close_tlvs;
618
619 if (fromwire_closing_signed(ctx, p,
620 &s->channel_id,
621 &s->fee_satoshis,
622 &s->signature,
623 &close_tlvs))
624 return s;
625 return tal_free(s);
626}
627
628static void *towire_struct_shutdown(const tal_t *ctx,
629 const struct msg_shutdown *s)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected