| 710 | } |
| 711 | |
| 712 | static bool payment_route_can_carry(const struct gossmap *map, |
| 713 | const struct gossmap_chan *c, |
| 714 | int dir, |
| 715 | struct amount_msat amount, |
| 716 | struct payment *p) |
| 717 | { |
| 718 | if (!route_can_carry(map, c, dir, amount, p)) |
| 719 | return false; |
| 720 | |
| 721 | return payment_route_check(map, c, dir, amount, p); |
| 722 | } |
| 723 | |
| 724 | static bool payment_route_can_carry_even_disabled(const struct gossmap *map, |
| 725 | const struct gossmap_chan *c, |
nothing calls this directly
no test coverage detected