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

Function timeout_sent_invreq

plugins/fetchinvoice.c:446–453  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

444
445/* We've received neither a reply nor a payment; return failure. */
446static struct command_result *timeout_sent_invreq(struct command *timer_cmd,
447 struct sent *sent)
448{
449 /* This will free sent! */
450 discard_result(command_fail(sent->cmd, OFFER_TIMEOUT,
451 "Timeout waiting for response"));
452 return timer_complete(timer_cmd);
453}
454
455static struct command_result *cancelrecurringinvoice_done(struct command *cmd,
456 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