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

Function timeout_sent_invreq

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

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

Source from the content-addressed store, hash-verified

451
452/* We've received neither a reply nor a payment; return failure. */
453static void timeout_sent_invreq(struct sent *sent)
454{
455 /* This will free sent! */
456 discard_result(command_fail(sent->cmd, OFFER_TIMEOUT,
457 "Timeout waiting for response"));
458}
459
460static struct command_result *sendonionmsg_done(struct command *cmd,
461 const char *buf UNUSED,

Callers

nothing calls this directly

Calls 2

discard_resultFunction · 0.85
command_failFunction · 0.70

Tested by

no test coverage detected