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

Function psbt_output_scriptlen

wallet/walletrpc.c:1103–1108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101}
1102
1103static size_t psbt_output_scriptlen(const struct wally_psbt *psbt, size_t index)
1104{
1105 if (psbt->version == WALLY_PSBT_VERSION_0)
1106 return psbt->tx->outputs[index].script_len;
1107 return psbt->outputs[index].script_len;
1108}
1109
1110static const u8 *psbt_output_script(const struct wally_psbt *psbt, size_t index)
1111{

Callers 1

psbt_equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected