| 20 | } |
| 21 | |
| 22 | static struct query_channel_range *decode(const tal_t *ctx, const void *p) |
| 23 | { |
| 24 | struct query_channel_range *s = tal(ctx, struct query_channel_range); |
| 25 | |
| 26 | if (fromwire_query_channel_range(s, p, &s->chain_hash, |
| 27 | &s->first_blocknum, |
| 28 | &s->number_of_blocks, &s->tlvs)) |
| 29 | return s; |
| 30 | return tal_free(s); |
| 31 | } |
| 32 | |
| 33 | static bool equal(const struct query_channel_range *x, |
| 34 | const struct query_channel_range *y) |
nothing calls this directly
no test coverage detected