| 188 | } |
| 189 | |
| 190 | void bitcoin_tx_set_locktime(struct bitcoin_tx *tx, u32 locktime) |
| 191 | { |
| 192 | tx->wtx->locktime = locktime; |
| 193 | tx->psbt->fallback_locktime = locktime; |
| 194 | tx->psbt->has_fallback_locktime = true; |
| 195 | } |
| 196 | |
| 197 | /* FIXME Stolen from psbt_append_input; export? */ |
| 198 | static struct wally_tx_input *wally_tx_input_from_outpoint_sequence(const struct bitcoin_outpoint *outpoint, |
no outgoing calls