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

Function in_only_inputs

wallet/walletrpc.c:678–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676AUTODATA(json_command, &listtransactions_command);
677
678static bool in_only_inputs(const u32 *only_inputs, u32 this)
679{
680 for (size_t i = 0; i < tal_count(only_inputs); i++)
681 if (only_inputs[i] == this)
682 return true;
683 return false;
684}
685
686static struct command_result *match_psbt_inputs_to_utxos(struct command *cmd,
687 struct wally_psbt *psbt,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected