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

Function offer_recurrence

common/bolt12.c:880–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880const struct recurrence *offer_recurrence(const struct tlv_offer *offer)
881{
882 if (offer->offer_recurrence_compulsory)
883 return offer->offer_recurrence_compulsory;
884 return offer->offer_recurrence_optional;
885}
886
887const struct recurrence *invreq_recurrence(const struct tlv_invoice_request *invreq)
888{

Callers 4

offer_decodeFunction · 0.85
json_offerFunction · 0.85
check_offer_payableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected