| 11 | }; |
| 12 | |
| 13 | static void *encode(const tal_t *ctx, const struct warning *s) |
| 14 | { |
| 15 | return towire_warning(ctx, &s->channel_id, s->data); |
| 16 | } |
| 17 | |
| 18 | static struct warning *decode(const tal_t *ctx, const void *p) |
| 19 | { |
nothing calls this directly
no outgoing calls
no test coverage detected