| 18 | } |
| 19 | |
| 20 | static struct shutdown *decode(const tal_t *ctx, const void *p) |
| 21 | { |
| 22 | struct shutdown *s = tal(ctx, struct shutdown); |
| 23 | |
| 24 | if (fromwire_shutdown(s, p, &s->channel_id, &s->scriptpubkey, &s->tlvs)) |
| 25 | return s; |
| 26 | return tal_free(s); |
| 27 | } |
| 28 | |
| 29 | static bool wrong_funding_equal(const struct tlv_shutdown_tlvs_wrong_funding *x, |
| 30 | const struct tlv_shutdown_tlvs_wrong_funding *y) |
nothing calls this directly
no test coverage detected