| 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 | /* Inclusive span of tlv range >= minfield and <= maxfield */ |
| 670 | size_t tlv_span(const u8 *tlvstream, u64 minfield, u64 maxfield, |
no test coverage detected