We used to have beautiful, optimal code which fed the tx parts directly * into sha256_update(). But that was before libwally; but now we don't have * to maintain our own transaction code, so there's that. */
| 492 | * into sha256_update(). But that was before libwally; but now we don't have |
| 493 | * to maintain our own transaction code, so there's that. */ |
| 494 | void bitcoin_txid(const struct bitcoin_tx *tx, struct bitcoin_txid *txid) |
| 495 | { |
| 496 | wally_txid(tx->wtx, txid); |
| 497 | } |
| 498 | |
| 499 | /* Use the bitcoin_tx destructor to also free the wally_tx */ |
| 500 | static void bitcoin_tx_destroy(struct bitcoin_tx *tx) |
nothing calls this directly
no test coverage detected