| 29 | } |
| 30 | |
| 31 | static bool equal(const struct channel_ready *x, const struct channel_ready *y) |
| 32 | { |
| 33 | size_t upto_tlvs = (uintptr_t)&x->tlvs - (uintptr_t)x; |
| 34 | if (memcmp(x, y, upto_tlvs) != 0) |
| 35 | return false; |
| 36 | |
| 37 | assert(x->tlvs && y->tlvs); |
| 38 | return tal_arr_eq(x->tlvs->short_channel_id, y->tlvs->short_channel_id); |
| 39 | } |
| 40 | |
| 41 | void run(const u8 *data, size_t size) |
| 42 | { |
nothing calls this directly
no outgoing calls
no test coverage detected