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

Function fromwire_struct_node_announcement

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

Source from the content-addressed store, hash-verified

392}
393
394static struct msg_node_announcement *fromwire_struct_node_announcement(const tal_t *ctx, const void *p)
395{
396 struct msg_node_announcement *s = tal(ctx, struct msg_node_announcement);
397 if (!fromwire_node_announcement(s, p,
398 &s->signature,
399 &s->features,
400 &s->timestamp,
401 &s->node_id,
402 s->rgb_color,
403 s->alias,
404 &s->addresses,
405 &s->tlvs))
406 return tal_free(s);
407 return s;
408}
409
410static void *towire_struct_channel_update(const tal_t *ctx,
411 const struct msg_channel_update *s)

Callers 1

mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected