| 413 | } |
| 414 | |
| 415 | void wally_tx_input_get_outpoint(const struct wally_tx_input *in, |
| 416 | struct bitcoin_outpoint *outpoint) |
| 417 | { |
| 418 | wally_tx_input_get_txid(in, &outpoint->txid); |
| 419 | outpoint->n = in->index; |
| 420 | } |
| 421 | |
| 422 | /* BIP144: |
| 423 | * If the witness is empty, the old serialization format should be used. */ |
no test coverage detected