| 10 | }; |
| 11 | |
| 12 | static void *encode(const tal_t *ctx, const struct onion_message *s) |
| 13 | { |
| 14 | return towire_onion_message(ctx, &s->path_key, s->onionmsg); |
| 15 | } |
| 16 | |
| 17 | static struct onion_message *decode(const tal_t *ctx, const void *p) |
| 18 | { |
nothing calls this directly
no outgoing calls
no test coverage detected