| 482 | } |
| 483 | |
| 484 | bool psbt_has_our_input(const struct wally_psbt *psbt) |
| 485 | { |
| 486 | for (size_t i = 0; i < psbt->num_inputs; i++) { |
| 487 | if (psbt_input_is_ours(&psbt->inputs[i])) |
| 488 | return true; |
| 489 | } |
| 490 | |
| 491 | return false; |
| 492 | } |
| 493 | |
| 494 | void psbt_output_mark_as_external(const tal_t *ctx, |
| 495 | struct wally_psbt_output *output) |
no test coverage detected