| 764 | } |
| 765 | |
| 766 | void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id) |
| 767 | { |
| 768 | u8 *wire = tal_arr(tmpctx, u8, 0); |
| 769 | |
| 770 | towire_tlv_invoice(&wire, invoice); |
| 771 | calc_invreq(wire, id); |
| 772 | } |
| 773 | |
| 774 | |
| 775 | /* BOLT #12: |
no test coverage detected