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

Function offer_recurrence

common/bolt12.c:1183–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183const struct recurrence *offer_recurrence(const struct tlv_offer *offer)
1184{
1185 if (offer->offer_recurrence_compulsory)
1186 return offer->offer_recurrence_compulsory;
1187 return offer->offer_recurrence_optional;
1188}
1189
1190const struct recurrence *invreq_recurrence(const struct tlv_invoice_request *invreq)
1191{

Callers 5

offer_decodeFunction · 0.85
json_offerFunction · 0.85
check_offer_payableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected