| 324 | } |
| 325 | |
| 326 | void 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 | |
| 337 | void psbt_input_set_witscript(struct wally_psbt *psbt, size_t in, const u8 *wscript) |
| 338 | { |
no test coverage detected