| 746 | } |
| 747 | |
| 748 | static struct msg_init *fromwire_struct_init(const tal_t *ctx, const void *p) |
| 749 | { |
| 750 | struct msg_init *s = tal(ctx, struct msg_init); |
| 751 | |
| 752 | if (!fromwire_init(s, p, |
| 753 | &s->globalfeatures, |
| 754 | &s->localfeatures, |
| 755 | &s->tlvs)) |
| 756 | return tal_free(s); |
| 757 | |
| 758 | return s; |
| 759 | } |
| 760 | |
| 761 | static bool channel_announcement_eq(const struct msg_channel_announcement *a, |
| 762 | const struct msg_channel_announcement *b) |