| 409 | } |
| 410 | |
| 411 | static void custommsg_payload_serialize(struct custommsg_payload *payload, |
| 412 | struct json_stream *stream, |
| 413 | struct plugin *plugin) |
| 414 | { |
| 415 | json_add_hex_talarr(stream, "payload", payload->msg); |
| 416 | json_add_node_id(stream, "peer_id", &payload->peer_id); |
| 417 | } |
| 418 | |
| 419 | REGISTER_PLUGIN_HOOK_INTFILTER(custommsg, |
| 420 | custommsg_cb, |
nothing calls this directly
no test coverage detected