| 26 | } |
| 27 | |
| 28 | static bool equal(const struct update_fail_htlc *x, |
| 29 | const struct update_fail_htlc *y) |
| 30 | { |
| 31 | size_t upto_reason = (uintptr_t)&x->reason - (uintptr_t)x; |
| 32 | if (memcmp(x, y, upto_reason) != 0) |
| 33 | return false; |
| 34 | |
| 35 | return tal_arr_eq(x->reason, y->reason); |
| 36 | } |
| 37 | |
| 38 | void run(const u8 *data, size_t size) |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected