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

Function psbt_input_txid

wallet/walletrpc.c:1075–1080  ·  view source on GitHub ↗

Yuck. */

Source from the content-addressed store, hash-verified

1073
1074/* Yuck. */
1075static const u8 *psbt_input_txid(const struct wally_psbt *psbt, size_t index)
1076{
1077 if (psbt->version == WALLY_PSBT_VERSION_0)
1078 return psbt->tx->inputs[index].txhash;
1079 return psbt->inputs[index].txhash;
1080}
1081
1082static u32 psbt_input_index(const struct wally_psbt *psbt, size_t index)
1083{

Callers 1

psbt_equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected