| 400 | } |
| 401 | |
| 402 | void wally_tx_input_get_outpoint(const struct wally_tx_input *in, |
| 403 | struct bitcoin_outpoint *outpoint) |
| 404 | { |
| 405 | BUILD_ASSERT(sizeof(struct bitcoin_txid) == sizeof(in->txhash)); |
| 406 | memcpy(&outpoint->txid, in->txhash, sizeof(struct bitcoin_txid)); |
| 407 | outpoint->n = in->index; |
| 408 | } |
| 409 | |
| 410 | /* BIP144: |
| 411 | * If the witness is empty, the old serialization format should be used. */ |
no outgoing calls
no test coverage detected