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

Function psbt_input_sequence

wallet/walletrpc.c:1125–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123}
1124
1125static u32 psbt_input_sequence(const struct wally_psbt *psbt, size_t index)
1126{
1127 if (psbt->version == WALLY_PSBT_VERSION_0)
1128 return psbt->tx->inputs[index].sequence;
1129 return psbt->inputs[index].sequence;
1130}
1131
1132static u64 psbt_output_amount(const struct wally_psbt *psbt, size_t index)
1133{

Callers 1

psbt_equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected