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

Function timeout_sent_invreq

plugins/fetchinvoice.c:405–412  ·  view source on GitHub ↗

We've received neither a reply nor a payment; return failure. */

Source from the content-addressed store, hash-verified

403
404/* We've received neither a reply nor a payment; return failure. */
405static struct command_result *timeout_sent_invreq(struct command *timer_cmd,
406 struct sent *sent)
407{
408 /* This will free sent! */
409 discard_result(command_fail(sent->cmd, OFFER_TIMEOUT,
410 "Timeout waiting for response"));
411 return timer_complete(timer_cmd);
412}
413
414static struct command_result *cancelrecurringinvoice_done(struct command *cmd,
415 struct sent *sent)

Callers

nothing calls this directly

Calls 3

discard_resultFunction · 0.85
timer_completeFunction · 0.85
command_failFunction · 0.70

Tested by

no test coverage detected