| 790 | } |
| 791 | |
| 792 | void fromwire_bitcoin_outpoint(const u8 **cursor, size_t *max, |
| 793 | struct bitcoin_outpoint *outp) |
| 794 | { |
| 795 | fromwire_bitcoin_txid(cursor, max, &outp->txid); |
| 796 | outp->n = fromwire_u32(cursor, max); |
| 797 | } |
| 798 | |
| 799 | void towire_bitcoin_tx(u8 **pptr, const struct bitcoin_tx *tx) |
| 800 | { |