| 522 | } |
| 523 | |
| 524 | bool psbt_input_is_ours(const struct wally_psbt_input *input) |
| 525 | { |
| 526 | size_t unused; |
| 527 | void *result = psbt_get_lightning(&input->unknowns, |
| 528 | PSBT_TYPE_INPUT_MARKER, &unused); |
| 529 | return !(!result); |
| 530 | } |
| 531 | |
| 532 | bool psbt_has_our_input(const struct wally_psbt *psbt) |
| 533 | { |
no test coverage detected