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

Function custommsg_final

lightningd/connect_control.c:401–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401static void custommsg_final(struct custommsg_payload *payload STEALS)
402{
403 /* Note: on shutdown, ld->connectd can be NULL! */
404 if (payload->ld->connectd) {
405 subd_send_msg(payload->ld->connectd,
406 take(towire_connectd_custommsg_in_complete(NULL, &payload->peer_id)));
407 }
408 tal_steal(tmpctx, payload);
409}
410
411static void custommsg_payload_serialize(struct custommsg_payload *payload,
412 struct json_stream *stream,

Callers

nothing calls this directly

Calls 1

subd_send_msgFunction · 0.70

Tested by

no test coverage detected