@@ -283,7 +283,7 @@ WALLY_CORE_API int wally_psbt_input_set_keypaths(
283
283
* .. note:: This function only finds non-taproot keypaths.
284
284
*/
285
285
WALLY_CORE_API int wally_psbt_input_find_keypath (
286
- struct wally_psbt_input * input ,
286
+ const struct wally_psbt_input * input ,
287
287
const unsigned char * pub_key ,
288
288
size_t pub_key_len ,
289
289
size_t * written );
@@ -364,7 +364,7 @@ WALLY_CORE_API int wally_psbt_input_set_taproot_signature(
364
364
*| the index of the item plus one.
365
365
*/
366
366
WALLY_CORE_API int wally_psbt_input_find_signature (
367
- struct wally_psbt_input * input ,
367
+ const struct wally_psbt_input * input ,
368
368
const unsigned char * pub_key ,
369
369
size_t pub_key_len ,
370
370
size_t * written );
@@ -405,7 +405,7 @@ WALLY_CORE_API int wally_psbt_input_set_unknowns(
405
405
*| the index of the item plus one.
406
406
*/
407
407
WALLY_CORE_API int wally_psbt_input_find_unknown (
408
- struct wally_psbt_input * input ,
408
+ const struct wally_psbt_input * input ,
409
409
const unsigned char * key ,
410
410
size_t key_len ,
411
411
size_t * written );
@@ -1318,7 +1318,7 @@ WALLY_CORE_API int wally_psbt_output_set_keypaths(
1318
1318
* .. note:: This function only finds non-taproot keypaths.
1319
1319
*/
1320
1320
WALLY_CORE_API int wally_psbt_output_find_keypath (
1321
- struct wally_psbt_output * output ,
1321
+ const struct wally_psbt_output * output ,
1322
1322
const unsigned char * pub_key ,
1323
1323
size_t pub_key_len ,
1324
1324
size_t * written );
@@ -1387,7 +1387,7 @@ WALLY_CORE_API int wally_psbt_output_set_unknowns(
1387
1387
*| the index of the item plus one.
1388
1388
*/
1389
1389
WALLY_CORE_API int wally_psbt_output_find_unknown (
1390
- struct wally_psbt_output * output ,
1390
+ const struct wally_psbt_output * output ,
1391
1391
const unsigned char * key ,
1392
1392
size_t key_len ,
1393
1393
size_t * written );
0 commit comments