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

Function psbt_input_sequence

wallet/walletrpc.c:1089–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089static u32 psbt_input_sequence(const struct wally_psbt *psbt, size_t index)
1090{
1091 if (psbt->version == WALLY_PSBT_VERSION_0)
1092 return psbt->tx->inputs[index].sequence;
1093 return psbt->inputs[index].sequence;
1094}
1095
1096static u64 psbt_output_amount(const struct wally_psbt *psbt, size_t index)
1097{

Callers 1

psbt_equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected