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

Function prepare_inv_timeout

plugins/fetchinvoice.c:665–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665static struct command_result *prepare_inv_timeout(struct command *cmd,
666 const char *method UNUSED,
667 const char *buf UNUSED,
668 const jsmntok_t *result UNUSED,
669 struct sent *sent)
670{
671 command_timer(cmd,
672 time_from_sec(sent->wait_timeout),
673 timeout_sent_inv, sent);
674 return sendonionmsg_done(cmd, method, buf, result, sent);
675}
676
677static struct command_result *invreq_done(struct command *cmd,
678 const char *method,

Callers

nothing calls this directly

Calls 2

time_from_secFunction · 0.85
sendonionmsg_doneFunction · 0.85

Tested by

no test coverage detected