| 541 | } |
| 542 | |
| 543 | void bitcoin_tx_finalize(struct bitcoin_tx *tx) |
| 544 | { |
| 545 | elements_tx_add_fee_output(tx); |
| 546 | assert(bitcoin_tx_check(tx)); |
| 547 | } |
| 548 | |
| 549 | struct bitcoin_tx *bitcoin_tx_with_psbt(const tal_t *ctx, struct wally_psbt *psbt TAKES) |
| 550 | { |
no test coverage detected