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

Function fromwire_struct_channel_ready

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

Source from the content-addressed store, hash-verified

441}
442
443static struct msg_channel_ready *fromwire_struct_channel_ready(const tal_t *ctx, const void *p)
444{
445 struct msg_channel_ready *s = tal(ctx, struct msg_channel_ready);
446
447 if (fromwire_channel_ready(ctx,
448 p,
449 &s->channel_id,
450 &s->next_per_commitment_point,
451 &s->tlvs))
452 return s;
453 return tal_free(s);
454}
455
456static void *towire_struct_announcement_signatures(const tal_t *ctx,
457 const struct msg_announcement_signatures *s)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected