BOLT-payer_proof #12: * - MUST set `proof_signature` as detailed in [Signature Calculation](#signature-calculation) using the `invreq_payer_id` using the merkle-root as the `msg`. */
| 170 | * - MUST set `proof_signature` as detailed in [Signature Calculation](#signature-calculation) using the `invreq_payer_id` using the merkle-root as the `msg`. |
| 171 | */ |
| 172 | void bolt12_payer_proof_merkle(const struct tlv_payer_proof *proof, |
| 173 | struct sha256 *merkle) |
| 174 | { |
| 175 | merkle_tlv(proof->fields, merkle); |
| 176 | } |
| 177 | |
| 178 | struct bip340sig *payer_proof_signature_(const tal_t *ctx, |
| 179 | const struct tlv_payer_proof *unsignedproof, |