| 17 | } |
| 18 | |
| 19 | static struct update_fail_htlc *decode(const tal_t *ctx, const void *p) |
| 20 | { |
| 21 | struct update_fail_htlc *s = tal(ctx, struct update_fail_htlc); |
| 22 | |
| 23 | if (fromwire_update_fail_htlc(s, p, &s->channel_id, &s->id, &s->reason)) |
| 24 | return s; |
| 25 | return tal_free(s); |
| 26 | } |
| 27 | |
| 28 | static bool equal(const struct update_fail_htlc *x, |
| 29 | const struct update_fail_htlc *y) |
nothing calls this directly
no test coverage detected