Helper to access the half chan at flow index idx */
| 116 | |
| 117 | /* Helper to access the half chan at flow index idx */ |
| 118 | const struct half_chan *flow_edge(const struct flow *flow, size_t idx) |
| 119 | { |
| 120 | assert(flow); |
| 121 | assert(idx < tal_count(flow->path)); |
| 122 | return &flow->path[idx]->half[flow->dirs[idx]]; |
| 123 | } |
| 124 | |
| 125 | /* Helper function to find the success_prob for a single flow |
| 126 | * |
no outgoing calls
no test coverage detected