| 23 | /* This makes an htable of indices into our array. */ |
| 24 | static struct short_channel_id chanidx_id(const ptrint_t *pidx); |
| 25 | static bool chanidx_eq_id(const ptrint_t *pidx, |
| 26 | struct short_channel_id scid) |
| 27 | { |
| 28 | struct short_channel_id pidxid = chanidx_id(pidx); |
| 29 | return short_channel_id_eq(&pidxid, &scid); |
| 30 | } |
| 31 | static size_t scid_hash(const struct short_channel_id scid) |
| 32 | { |
| 33 | return siphash24(siphash_seed(), &scid, sizeof(scid)); |
nothing calls this directly
no test coverage detected