Output the fields_included arrays for a payer_proof TLV. */
| 204 | |
| 205 | /* Output the fields_included arrays for a payer_proof TLV. */ |
| 206 | static void json_add_fields_included(struct json_stream *js, |
| 207 | const struct tlv_payer_proof *pptlv) |
| 208 | { |
| 209 | json_add_tlv_arr_level(js, "offer_fields_included", |
| 210 | LAYER_OFFER, pptlv->fields); |
| 211 | json_add_tlv_arr_level(js, "invreq_fields_included", |
| 212 | LAYER_INVREQ, pptlv->fields); |
| 213 | json_add_tlv_arr_level(js, "invoice_fields_included", |
| 214 | LAYER_INVOICE, pptlv->fields); |
| 215 | } |
| 216 | |
| 217 | static struct command_result *payersign_done(struct command *cmd, |
| 218 | const char *method UNNEEDED, |
no test coverage detected