| 151 | } |
| 152 | |
| 153 | static bool output_identical(const struct wally_psbt *a, |
| 154 | size_t a_index, |
| 155 | const struct wally_psbt *b, |
| 156 | size_t b_index) |
| 157 | { |
| 158 | const u8 *a_out = linearize_output(tmpctx, a, a_index); |
| 159 | const u8 *b_out = linearize_output(tmpctx, b, b_index); |
| 160 | return tal_arr_eq(a_out, b_out); |
| 161 | } |
| 162 | |
| 163 | static void sort_inputs(struct wally_psbt *psbt) |
| 164 | { |
no test coverage detected