| 635 | } |
| 636 | |
| 637 | static struct msg_shutdown *fromwire_struct_shutdown(const tal_t *ctx, const void *p) |
| 638 | { |
| 639 | struct msg_shutdown *s = tal(ctx, struct msg_shutdown); |
| 640 | |
| 641 | if (!fromwire_shutdown(s, p, |
| 642 | &s->channel_id, |
| 643 | &s->scriptpubkey, |
| 644 | &s->tlvs)) |
| 645 | return tal_free(s); |
| 646 | return s; |
| 647 | } |
| 648 | |
| 649 | static void *towire_struct_funding_created(const tal_t *ctx, |
| 650 | const struct msg_funding_created *s) |