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

Function add_invoice_del_fields

plugins/autoclean.c:479–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479static void add_invoice_del_fields(struct out_req *req,
480 const char *buf,
481 const jsmntok_t *t)
482{
483 const jsmntok_t *label = json_get_member(buf, t, "label");
484 const jsmntok_t *status = json_get_member(buf, t, "status");
485
486 json_add_tok(req->js, "label", label, buf);
487 json_add_tok(req->js, "status", status, buf);
488}
489
490static void add_sendpays_del_fields(struct out_req *req,
491 const char *buf,

Callers

nothing calls this directly

Calls 2

json_get_memberFunction · 0.85
json_add_tokFunction · 0.85

Tested by

no test coverage detected