| 746 | } |
| 747 | |
| 748 | void fromwire_bitcoin_outpoint(const u8 **cursor, size_t *max, |
| 749 | struct bitcoin_outpoint *outp) |
| 750 | { |
| 751 | fromwire_bitcoin_txid(cursor, max, &outp->txid); |
| 752 | outp->n = fromwire_u32(cursor, max); |
| 753 | } |
| 754 | |
| 755 | void towire_bitcoin_tx(u8 **pptr, const struct bitcoin_tx *tx) |
| 756 | { |
no test coverage detected