| 137 | } |
| 138 | |
| 139 | static void custommsg_notification_serialize(struct json_stream *stream, |
| 140 | const struct node_id *peer_id, |
| 141 | const u8 *msg) |
| 142 | { |
| 143 | json_add_node_id(stream, "peer_id", peer_id); |
| 144 | json_add_hex_talarr(stream, "payload", msg); |
| 145 | } |
| 146 | |
| 147 | REGISTER_NOTIFICATION(custommsg); |
| 148 |
no test coverage detected