Prioritize costs over distance */
| 53 | |
| 54 | /* Prioritize costs over distance */ |
| 55 | u64 route_score_cheaper(struct amount_msat fee, |
| 56 | struct amount_msat risk, |
| 57 | struct amount_msat total UNUSED, |
| 58 | int dir UNUSED, |
| 59 | const struct gossmap_chan *c UNUSED) |
| 60 | { |
| 61 | return ((u64)costs_to_score(fee, risk) << 32) + 1; |
| 62 | } |
| 63 | |
| 64 | /* Recursive version: return false if we can't get there. |
| 65 | * |
nothing calls this directly
no test coverage detected