| 754 | } |
| 755 | |
| 756 | static void json_add_onionmsg_path(struct json_stream *js, |
| 757 | const char *fieldname, |
| 758 | const struct blinded_path_hop *hop) |
| 759 | { |
| 760 | json_object_start(js, fieldname); |
| 761 | json_add_pubkey(js, "blinded_node_id", &hop->blinded_node_id); |
| 762 | json_add_hex_talarr(js, "encrypted_recipient_data", hop->encrypted_recipient_data); |
| 763 | json_object_end(js); |
| 764 | } |
| 765 | |
| 766 | /* Returns true if valid */ |
| 767 | static bool json_add_blinded_paths(struct command *cmd, |
no test coverage detected