| 25 | }; |
| 26 | |
| 27 | static void *encode(const tal_t *ctx, const struct accept_channel *s) |
| 28 | { |
| 29 | return towire_accept_channel( |
| 30 | ctx, &s->temporary_channel_id, s->dust_limit_satoshis, |
| 31 | s->max_htlc_value_in_flight_msat, s->channel_reserve_satoshis, |
| 32 | s->htlc_minimum_msat, s->minimum_depth, s->to_self_delay, |
| 33 | s->max_accepted_htlcs, &s->funding_pubkey, &s->revocation_basepoint, |
| 34 | &s->payment_basepoint, &s->delayed_payment_basepoint, |
| 35 | &s->htlc_basepoint, &s->first_per_commitment_point, s->tlvs); |
| 36 | } |
| 37 | |
| 38 | static struct accept_channel *decode(const tal_t *ctx, const void *p) |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected