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

Function invreq_recurrence

common/bolt12.c:1190–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188}
1189
1190const struct recurrence *invreq_recurrence(const struct tlv_invoice_request *invreq)
1191{
1192 if (invreq->offer_recurrence_compulsory)
1193 return invreq->offer_recurrence_compulsory;
1194 return invreq->offer_recurrence_optional;
1195}
1196
1197const struct recurrence *invoice_recurrence(const struct tlv_invoice *inv)
1198{

Callers 6

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