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

Function psbt_input_set_utxo

bitcoin/psbt.c:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void psbt_input_set_utxo(struct wally_psbt *psbt, size_t in,
327 const struct wally_tx *prev_tx)
328{
329 int wally_err;
330 tal_wally_start();
331 wally_err = wally_psbt_input_set_utxo(&psbt->inputs[in],
332 prev_tx);
333 tal_wally_end(psbt);
334 assert(wally_err == WALLY_OK);
335}
336
337void psbt_input_set_witscript(struct wally_psbt *psbt, size_t in, const u8 *wscript)
338{

Callers 1

psbt_using_utxosFunction · 0.85

Calls 2

tal_wally_startFunction · 0.85
tal_wally_endFunction · 0.85

Tested by

no test coverage detected