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

Function psbt_input_is_ours

common/psbt_open.c:476–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476bool psbt_input_is_ours(const struct wally_psbt_input *input)
477{
478 size_t unused;
479 void *result = psbt_get_lightning(&input->unknowns,
480 PSBT_TYPE_INPUT_MARKER, &unused);
481 return !(!result);
482}
483
484bool psbt_has_our_input(const struct wally_psbt *psbt)
485{

Callers 4

psbt_has_our_inputFunction · 0.85
mfc_cleanup_psbtFunction · 0.85
perform_signpsbtFunction · 0.85

Calls 1

psbt_get_lightningFunction · 0.85

Tested by

no test coverage detected