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

Function psbt_input_set_outpoint

bitcoin/psbt.c:463–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463void psbt_input_set_outpoint(struct wally_psbt *psbt, size_t in,
464 struct bitcoin_outpoint outpoint)
465{
466 assert(in < psbt->num_inputs);
467 psbt->inputs[in].index = outpoint.n;
468 memcpy(psbt->inputs[in].txhash, &outpoint.txid,
469 sizeof(struct bitcoin_txid));
470}
471
472void psbt_input_set_witscript(struct wally_psbt *psbt, size_t in, const u8 *wscript)
473{

Callers 1

splice_initiatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected