| 32 | } |
| 33 | |
| 34 | static bool equal(const struct update_fail_malformed_htlc *x, |
| 35 | const struct update_fail_malformed_htlc *y) |
| 36 | { |
| 37 | size_t upto_failure_code = (uintptr_t)&x->failure_code - (uintptr_t)x; |
| 38 | if (memcmp(x, y, upto_failure_code) != 0) |
| 39 | return false; |
| 40 | return x->failure_code == y->failure_code; |
| 41 | } |
| 42 | |
| 43 | void run(const u8 *data, size_t size) |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected