| 1067 | } |
| 1068 | |
| 1069 | void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id) |
| 1070 | { |
| 1071 | u8 *wire = tal_arr(tmpctx, u8, 0); |
| 1072 | |
| 1073 | towire_tlv_invoice(&wire, invoice); |
| 1074 | calc_invreq(wire, id); |
| 1075 | } |
| 1076 | |
| 1077 | |
| 1078 | /* BOLT #12: |
no test coverage detected