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

Function sendonionmsg_done

plugins/fetchinvoice.c:463–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static struct command_result *sendonionmsg_done(struct command *cmd,
464 const char *method UNUSED,
465 const char *buf UNUSED,
466 const jsmntok_t *result UNUSED,
467 struct sent *sent)
468{
469 if (sent->invreq && sent->invreq->invreq_recurrence_cancel)
470 return cancelrecurringinvoice_done(cmd, sent);
471
472 command_timer(cmd,
473 time_from_sec(sent->wait_timeout),
474 timeout_sent_invreq, sent);
475 return command_still_pending(cmd);
476}
477
478static struct command_result *param_offer(struct command *cmd,
479 const char *name,

Callers 1

prepare_inv_timeoutFunction · 0.85

Calls 3

time_from_secFunction · 0.85
command_still_pendingFunction · 0.70

Tested by

no test coverage detected