| 16 | } |
| 17 | |
| 18 | static struct warning *decode(const tal_t *ctx, const void *p) |
| 19 | { |
| 20 | struct warning *s = tal(ctx, struct warning); |
| 21 | |
| 22 | if (fromwire_warning(s, p, &s->channel_id, &s->data)) |
| 23 | return s; |
| 24 | return tal_free(s); |
| 25 | } |
| 26 | |
| 27 | static bool equal(const struct warning *x, const struct warning *y) |
| 28 | { |
nothing calls this directly
no test coverage detected