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

Function input_identical

common/psbt_open.c:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static bool input_identical(const struct wally_psbt *a,
143 size_t a_index,
144 const struct wally_psbt *b,
145 size_t b_index)
146{
147 const u8 *a_in = linearize_input(tmpctx, a, a_index);
148 const u8 *b_in = linearize_input(tmpctx, b, b_index);
149
150 return tal_arr_eq(a_in, b_in);
151}
152
153static bool output_identical(const struct wally_psbt *a,
154 size_t a_index,

Callers 1

psbt_get_changesetFunction · 0.85

Calls 1

linearize_inputFunction · 0.85

Tested by

no test coverage detected