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

Function invreq_recurrence

common/bolt12.c:887–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885}
886
887const struct recurrence *invreq_recurrence(const struct tlv_invoice_request *invreq)
888{
889 if (invreq->offer_recurrence_compulsory)
890 return invreq->offer_recurrence_compulsory;
891 return invreq->offer_recurrence_optional;
892}
893
894const struct recurrence *invoice_recurrence(const struct tlv_invoice *inv)
895{

Callers 5

check_periodFunction · 0.85
listoffers_doneFunction · 0.85
invreq_doneFunction · 0.85
json_fetchinvoiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected