| 661 | } |
| 662 | |
| 663 | bool bolt12_has_prefix(const char *str) |
| 664 | { |
| 665 | return bolt12_has_invoice_prefix(str) || bolt12_has_offer_prefix(str) || |
| 666 | bolt12_has_request_prefix(str); |
| 667 | } |
| 668 | |
| 669 | /* Byte length of the run of TLV records whose type is in [minfield, maxfield], |
| 670 | * storing its offset into tlvstream in *startp. TLV records are ordered by |
no test coverage detected