| 26 | } |
| 27 | |
| 28 | static bool equal(const struct init *x, const struct init *y) |
| 29 | { |
| 30 | if (!tal_arr_eq(x->globalfeatures, y->globalfeatures)) |
| 31 | return false; |
| 32 | if (!tal_arr_eq(x->features, y->features)) |
| 33 | return false; |
| 34 | |
| 35 | assert(x->tlvs && y->tlvs); |
| 36 | |
| 37 | if (!tal_arr_eq(x->tlvs->networks, y->tlvs->networks)) |
| 38 | return false; |
| 39 | |
| 40 | return tal_arr_eq(x->tlvs->remote_addr, y->tlvs->remote_addr); |
| 41 | } |
| 42 | |
| 43 | void run(const u8 *data, size_t size) |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected