| 612 | } |
| 613 | |
| 614 | static struct msg_closing_signed *fromwire_struct_closing_signed(const tal_t *ctx, const void *p) |
| 615 | { |
| 616 | struct msg_closing_signed *s = tal(ctx, struct msg_closing_signed); |
| 617 | struct tlv_closing_signed_tlvs *close_tlvs; |
| 618 | |
| 619 | if (fromwire_closing_signed(ctx, p, |
| 620 | &s->channel_id, |
| 621 | &s->fee_satoshis, |
| 622 | &s->signature, |
| 623 | &close_tlvs)) |
| 624 | return s; |
| 625 | return tal_free(s); |
| 626 | } |
| 627 | |
| 628 | static void *towire_struct_shutdown(const tal_t *ctx, |
| 629 | const struct msg_shutdown *s) |