| 710 | } |
| 711 | |
| 712 | char *fmt_bitcoin_tx(const tal_t *ctx, const struct bitcoin_tx *tx) |
| 713 | { |
| 714 | u8 *lin = linearize_tx(ctx, tx); |
| 715 | char *s = tal_hex(ctx, lin); |
| 716 | tal_free(lin); |
| 717 | return s; |
| 718 | } |
| 719 | |
| 720 | char *fmt_bitcoin_txid(const tal_t *ctx, const struct bitcoin_txid *txid) |
| 721 | { |
no test coverage detected