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

Function channel_open_failed_serialize

lightningd/notification.c:641–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641static void channel_open_failed_serialize(struct json_stream *stream,
642 const struct channel_id *cid)
643{
644 json_object_start(stream, "channel_open_failed");
645 json_add_channel_id(stream, "channel_id", cid);
646 json_object_end(stream);
647}
648
649REGISTER_NOTIFICATION(channel_open_failed,
650 channel_open_failed_serialize);

Callers

nothing calls this directly

Calls 3

json_object_startFunction · 0.50
json_add_channel_idFunction · 0.50
json_object_endFunction · 0.50

Tested by

no test coverage detected