| 21 | } |
| 22 | |
| 23 | void towire_penalty_base(u8 **pptr, const struct penalty_base *pbase) |
| 24 | { |
| 25 | towire_u64(pptr, pbase->commitment_num); |
| 26 | towire_bitcoin_txid(pptr, &pbase->txid); |
| 27 | towire_u32(pptr, pbase->outnum); |
| 28 | towire_amount_sat(pptr, pbase->amount); |
| 29 | } |
| 30 | |
| 31 | void fromwire_penalty_base(const u8 **pptr, size_t *max, |
| 32 | struct penalty_base *pbase) |
nothing calls this directly
no test coverage detected