| 18 | }; |
| 19 | |
| 20 | static void *encode(const tal_t *ctx, const struct channel_reestablish *s) |
| 21 | { |
| 22 | return towire_channel_reestablish( |
| 23 | ctx, &s->channel_id, s->next_commitment_number, |
| 24 | s->next_revocation_number, &s->your_last_per_commitment_secret, |
| 25 | &s->my_current_per_commitment_point, s->tlvs); |
| 26 | } |
| 27 | |
| 28 | static struct channel_reestablish *decode(const tal_t *ctx, const void *p) |
| 29 | { |
nothing calls this directly
no outgoing calls
no test coverage detected