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

Function psbt_has_our_input

common/psbt_open.c:484–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484bool 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
494void psbt_output_mark_as_external(const tal_t *ctx,
495 struct wally_psbt_output *output)

Callers 1

Calls 1

psbt_input_is_oursFunction · 0.85

Tested by

no test coverage detected