| 626 | } |
| 627 | |
| 628 | static void *towire_struct_shutdown(const tal_t *ctx, |
| 629 | const struct msg_shutdown *s) |
| 630 | { |
| 631 | return towire_shutdown(ctx, |
| 632 | &s->channel_id, |
| 633 | s->scriptpubkey, |
| 634 | NULL); |
| 635 | } |
| 636 | |
| 637 | static struct msg_shutdown *fromwire_struct_shutdown(const tal_t *ctx, const void *p) |
| 638 | { |