| 30 | } |
| 31 | |
| 32 | static bool equal(const struct tx_init_rbf *x, const struct tx_init_rbf *y) |
| 33 | { |
| 34 | size_t upto_tlvs = (uintptr_t)&x->tlvs - (uintptr_t)x; |
| 35 | if (memcmp(x, y, upto_tlvs) != 0) |
| 36 | return false; |
| 37 | |
| 38 | assert(x->tlvs && y->tlvs); |
| 39 | if (!tal_arr_eq(x->tlvs->funding_output_contribution, |
| 40 | y->tlvs->funding_output_contribution)) |
| 41 | return false; |
| 42 | |
| 43 | return !!x->tlvs->require_confirmed_inputs == |
| 44 | !!y->tlvs->require_confirmed_inputs; |
| 45 | } |
| 46 | |
| 47 | void run(const u8 *data, size_t size) |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected