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

Function invoice_recurrence

common/bolt12.c:894–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894const struct recurrence *invoice_recurrence(const struct tlv_invoice *inv)
895{
896 if (inv->offer_recurrence_compulsory)
897 return inv->offer_recurrence_compulsory;
898 return inv->offer_recurrence_optional;
899}

Callers 3

handle_invreq_responseFunction · 0.85
json_sendinvoiceFunction · 0.85
json_add_b12_invoiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected