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

Function json_add_invoice

lightningd/invoice.c:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static void json_add_invoice(struct json_stream *response,
90 const char *fieldname,
91 const struct invoice_details *inv)
92{
93 json_object_start(response, fieldname);
94 json_add_invoice_fields(response, inv);
95 json_object_end(response);
96}
97
98static struct command_result *tell_waiter(struct command *cmd, u64 inv_dbid)
99{

Callers 1

json_add_invoicesFunction · 0.85

Calls 3

json_object_startFunction · 0.85
json_object_endFunction · 0.85
json_add_invoice_fieldsFunction · 0.70

Tested by

no test coverage detected