| 10 | }; |
| 11 | |
| 12 | static void *encode(const tal_t *ctx, const struct revoke_and_ack *s) |
| 13 | { |
| 14 | return towire_revoke_and_ack(ctx, &s->channel_id, |
| 15 | &s->per_commitment_secret, |
| 16 | &s->next_per_commitment_point); |
| 17 | } |
| 18 | |
| 19 | static struct revoke_and_ack *decode(const tal_t *ctx, const void *p) |
| 20 | { |
nothing calls this directly
no outgoing calls
no test coverage detected