Use the bitcoin_tx destructor to also free the wally_tx */
| 510 | |
| 511 | /* Use the bitcoin_tx destructor to also free the wally_tx */ |
| 512 | static void bitcoin_tx_destroy(struct bitcoin_tx *tx) |
| 513 | { |
| 514 | wally_tx_free(tx->wtx); |
| 515 | } |
| 516 | |
| 517 | struct bitcoin_tx *bitcoin_tx(const tal_t *ctx, |
| 518 | const struct chainparams *chainparams, |
nothing calls this directly
no outgoing calls
no test coverage detected