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

Function jsonrpc_notification_end_noparams

lightningd/jsonrpc.c:1532–1538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1530}
1531
1532void jsonrpc_notification_end_noparams(struct jsonrpc_notification *n)
1533{
1534 json_object_end(n->stream); /* closes '.' */
1535
1536 /* We guarantee to have \n\n at end of each response. */
1537 json_stream_append(n->stream, "\n\n", strlen("\n\n"));
1538}
1539
1540struct jsonrpc_request *jsonrpc_request_start_(
1541 const tal_t *ctx, const char *method,

Callers 2

jsonrpc_notification_endFunction · 0.85

Calls 2

json_object_endFunction · 0.85
json_stream_appendFunction · 0.85

Tested by

no test coverage detected