Get the scidd for the i'th hop in flow */
| 17 | |
| 18 | /* Get the scidd for the i'th hop in flow */ |
| 19 | static void get_scidd(const struct gossmap *gossmap, |
| 20 | const struct flow *flow, |
| 21 | size_t i, |
| 22 | struct short_channel_id_dir *scidd) |
| 23 | { |
| 24 | scidd->scid = gossmap_chan_scid(gossmap, flow->path[i]); |
| 25 | scidd->dir = flow->dirs[i]; |
| 26 | } |
| 27 | |
| 28 | static void destroy_reservations(struct reserve_hop *rhops, struct reserve_htable *reserved) |
| 29 | { |
no test coverage detected