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

Function prepare_inv_timeout

plugins/fetchinvoice.c:706–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706static struct command_result *prepare_inv_timeout(struct command *cmd,
707 const char *method UNUSED,
708 const char *buf UNUSED,
709 const jsmntok_t *result UNUSED,
710 struct sent *sent)
711{
712 command_timer(cmd,
713 time_from_sec(sent->wait_timeout),
714 timeout_sent_inv, sent);
715 return sendonionmsg_done(cmd, method, buf, result, sent);
716}
717
718static struct command_result *invreq_done(struct command *cmd,
719 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