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