| 38 | } |
| 39 | |
| 40 | static bool equal(const struct shutdown *x, const struct shutdown *y) |
| 41 | { |
| 42 | if (!channel_id_eq(&x->channel_id, &y->channel_id)) |
| 43 | return false; |
| 44 | if (!tal_arr_eq(x->scriptpubkey, y->scriptpubkey)) |
| 45 | return false; |
| 46 | |
| 47 | assert(x->tlvs && y->tlvs); |
| 48 | return wrong_funding_equal(x->tlvs->wrong_funding, |
| 49 | y->tlvs->wrong_funding); |
| 50 | } |
| 51 | |
| 52 | void run(const u8 *data, size_t size) |
| 53 | { |
nothing calls this directly
no test coverage detected