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