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

Function psbt_has_our_input

common/psbt_open.c:532–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532bool psbt_has_our_input(const struct wally_psbt *psbt)
533{
534 for (size_t i = 0; i < psbt->num_inputs; i++) {
535 if (psbt_input_is_ours(&psbt->inputs[i]))
536 return true;
537 }
538
539 return false;
540}
541
542void psbt_output_mark_as_external(const tal_t *ctx,
543 struct wally_psbt_output *output)

Callers 1

Calls 1

psbt_input_is_oursFunction · 0.85

Tested by

no test coverage detected