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

Function invoice_recurrence

common/bolt12.c:1197–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1195}
1196
1197const struct recurrence *invoice_recurrence(const struct tlv_invoice *inv)
1198{
1199 if (inv->offer_recurrence_compulsory)
1200 return inv->offer_recurrence_compulsory;
1201 return inv->offer_recurrence_optional;
1202}

Callers 4

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