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

Function json_add_null

lightningd/notification.c:289–292  ·  view source on GitHub ↗

Don't use this: omit fields instead! */

Source from the content-addressed store, hash-verified

287
288/* Don't use this: omit fields instead! */
289static void json_add_null(struct json_stream *stream, const char *fieldname)
290{
291 json_add_primitive(stream, fieldname, "null");
292}
293
294static void channel_state_changed_notification_serialize(struct json_stream *stream,
295 struct lightningd *ld,

Calls 1

json_add_primitiveFunction · 0.85

Tested by

no test coverage detected