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

Function psbt_input_txid

wallet/walletrpc.c:1111–1116  ·  view source on GitHub ↗

Yuck. */

Source from the content-addressed store, hash-verified

1109
1110/* Yuck. */
1111static const u8 *psbt_input_txid(const struct wally_psbt *psbt, size_t index)
1112{
1113 if (psbt->version == WALLY_PSBT_VERSION_0)
1114 return psbt->tx->inputs[index].txhash;
1115 return psbt->inputs[index].txhash;
1116}
1117
1118static u32 psbt_input_index(const struct wally_psbt *psbt, size_t index)
1119{

Callers 1

psbt_equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected