| 29 | } |
| 30 | |
| 31 | void fromwire_penalty_base(const u8 **pptr, size_t *max, |
| 32 | struct penalty_base *pbase) |
| 33 | { |
| 34 | pbase->commitment_num = fromwire_u64(pptr, max); |
| 35 | fromwire_bitcoin_txid(pptr, max, &pbase->txid); |
| 36 | pbase->outnum = fromwire_u32(pptr, max); |
| 37 | pbase->amount = fromwire_amount_sat(pptr, max); |
| 38 | } |
nothing calls this directly
no test coverage detected