| 683 | } |
| 684 | |
| 685 | static bool payment_route_can_carry(const struct gossmap *map, |
| 686 | const struct gossmap_chan *c, |
| 687 | int dir, |
| 688 | struct amount_msat amount, |
| 689 | struct payment *p) |
| 690 | { |
| 691 | if (!route_can_carry(map, c, dir, amount, p)) |
| 692 | return false; |
| 693 | |
| 694 | return payment_route_check(map, c, dir, amount, p); |
| 695 | } |
| 696 | |
| 697 | static bool payment_route_can_carry_even_disabled(const struct gossmap *map, |
| 698 | const struct gossmap_chan *c, |
nothing calls this directly
no test coverage detected