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