| 19 | } |
| 20 | |
| 21 | static struct channel_ready *decode(const tal_t *ctx, const void *p) |
| 22 | { |
| 23 | struct channel_ready *s = tal(ctx, struct channel_ready); |
| 24 | |
| 25 | if (fromwire_channel_ready(s, p, &s->channel_id, |
| 26 | &s->second_per_commitment_point, &s->tlvs)) |
| 27 | return s; |
| 28 | return tal_free(s); |
| 29 | } |
| 30 | |
| 31 | static bool equal(const struct channel_ready *x, const struct channel_ready *y) |
| 32 | { |
nothing calls this directly
no test coverage detected