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

Function listinvreqs_error

plugins/offers_inv_hook.c:204–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204static struct command_result *listinvreqs_error(struct command *cmd,
205 const char *method,
206 const char *buf,
207 const jsmntok_t *err,
208 struct inv *inv)
209{
210 return fail_internalerr(cmd, inv,
211 "listinvoicerequests gave JSON error: %.*s",
212 json_tok_full_len(err),
213 json_tok_full(buf, err));
214}
215
216struct command_result *handle_invoice(struct command *cmd,
217 const u8 *invbin,

Callers

nothing calls this directly

Calls 3

fail_internalerrFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected