| 14 | } |
| 15 | |
| 16 | void fromwire_channel_config(const u8 **ptr, size_t *max, |
| 17 | struct channel_config *config) |
| 18 | { |
| 19 | config->dust_limit = fromwire_amount_sat(ptr, max); |
| 20 | config->max_htlc_value_in_flight = fromwire_amount_msat(ptr, max); |
| 21 | config->channel_reserve = fromwire_amount_sat(ptr, max); |
| 22 | config->htlc_minimum = fromwire_amount_msat(ptr, max); |
| 23 | config->to_self_delay = fromwire_u16(ptr, max); |
| 24 | config->max_accepted_htlcs = fromwire_u16(ptr, max); |
| 25 | config->max_dust_htlc_exposure_msat = fromwire_amount_msat(ptr, max); |
| 26 | } |
no test coverage detected