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

Function listoffers_error

plugins/offers_inv_hook.c:309–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static struct command_result *listoffers_error(struct command *cmd,
310 const char *buf,
311 const jsmntok_t *err,
312 struct inv *inv)
313{
314 return fail_internalerr(cmd, inv,
315 "listoffers gave JSON error: %.*s",
316 json_tok_full_len(err),
317 json_tok_full(buf, err));
318}
319
320struct command_result *handle_invoice(struct command *cmd,
321 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