| 12 | }; |
| 13 | |
| 14 | static void *encode(const tal_t *ctx, |
| 15 | const struct update_fail_malformed_htlc *s) |
| 16 | { |
| 17 | return towire_update_fail_malformed_htlc( |
| 18 | ctx, &s->channel_id, s->id, &s->sha256_of_onion, s->failure_code); |
| 19 | } |
| 20 | |
| 21 | static struct update_fail_malformed_htlc *decode(const tal_t *ctx, |
| 22 | const void *p) |
nothing calls this directly
no outgoing calls
no test coverage detected