| 441 | } |
| 442 | |
| 443 | static struct msg_channel_ready *fromwire_struct_channel_ready(const tal_t *ctx, const void *p) |
| 444 | { |
| 445 | struct msg_channel_ready *s = tal(ctx, struct msg_channel_ready); |
| 446 | |
| 447 | if (fromwire_channel_ready(ctx, |
| 448 | p, |
| 449 | &s->channel_id, |
| 450 | &s->next_per_commitment_point, |
| 451 | &s->tlvs)) |
| 452 | return s; |
| 453 | return tal_free(s); |
| 454 | } |
| 455 | |
| 456 | static void *towire_struct_announcement_signatures(const tal_t *ctx, |
| 457 | const struct msg_announcement_signatures *s) |