Prioritize distance over costs */
| 43 | |
| 44 | /* Prioritize distance over costs */ |
| 45 | u64 route_score_shorter(struct amount_msat fee, |
| 46 | struct amount_msat risk, |
| 47 | struct amount_msat total UNUSED, |
| 48 | int dir UNUSED, |
| 49 | const struct gossmap_chan *c UNUSED) |
| 50 | { |
| 51 | return costs_to_score(fee, risk) + ((u64)1 << 32); |
| 52 | } |
| 53 | |
| 54 | /* Prioritize costs over distance */ |
| 55 | u64 route_score_cheaper(struct amount_msat fee, |
nothing calls this directly
no test coverage detected