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

Function towire_struct_closing_signed

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

Source from the content-addressed store, hash-verified

599}
600
601static void *towire_struct_closing_signed(const tal_t *ctx,
602 const struct msg_closing_signed *s)
603{
604 struct tlv_closing_signed_tlvs *close_tlvs;
605
606 close_tlvs = tlv_closing_signed_tlvs_new(ctx);
607 return towire_closing_signed(ctx,
608 &s->channel_id,
609 s->fee_satoshis,
610 &s->signature,
611 close_tlvs);
612}
613
614static struct msg_closing_signed *fromwire_struct_closing_signed(const tal_t *ctx, const void *p)
615{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected