MCPcopy Create free account
hub / github.com/ElementsProject/lightning / output_identical

Function output_identical

common/psbt_open.c:153–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static 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
163static void sort_inputs(struct wally_psbt *psbt)
164{

Callers 1

psbt_get_changesetFunction · 0.85

Calls 1

linearize_outputFunction · 0.85

Tested by

no test coverage detected