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

Function ignore_result_error

plugins/xpay/xpay.c:308–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308static struct command_result *ignore_result_error(struct command *aux_cmd,
309 const char *method,
310 const char *buf,
311 const jsmntok_t *result,
312 struct attempt *attempt)
313{
314 attempt_unusual(attempt, "%s failed: '%.*s'",
315 method,
316 json_tok_full_len(result),
317 json_tok_full(buf, result));
318 return ignore_result(aux_cmd, method, buf, result, attempt);
319}
320
321/* A request, but we don't care about result. Submit with send_payment_req */
322static struct out_req *payment_ignored_req(struct command *aux_cmd,

Callers

nothing calls this directly

Calls 3

ignore_resultFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected