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

Function sendonionmsg_done

plugins/fetchinvoice.c:422–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422static struct command_result *sendonionmsg_done(struct command *cmd,
423 const char *method UNUSED,
424 const char *buf UNUSED,
425 const jsmntok_t *result UNUSED,
426 struct sent *sent)
427{
428 if (sent->invreq && sent->invreq->invreq_recurrence_cancel)
429 return cancelrecurringinvoice_done(cmd, sent);
430
431 command_timer(cmd,
432 time_from_sec(sent->wait_timeout),
433 timeout_sent_invreq, sent);
434 return command_still_pending(cmd);
435}
436
437static struct command_result *param_offer(struct command *cmd,
438 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